: 1: 1: content is not allowed in Prolog.
2010-08-19 15:30:53, class: COM. ysd. Dao. synchrooperation, Com. thoughtworks. xstream. Io. streamexception: content is not allowed in Prolog.
At com. thoughtworks. xstream. Io. xml. domdriver. createreader (domdriver. Java: 86)
At com. thoughtworks. xstream. Io. xml. domdriver. createreader (domdriver. Java: 66)
At com. thoughtworks. xstream. xstream. fromxml (xstream. Java: 853)
At com. ysd. Dao. confreader. Read (confreader. Java: 29)
At com. ysd. servlet. startrun. Main (startrun. Java: 162)
Caused by: org. xml. Sax. saxparseexception: content is not allowed in Prolog.
At com.sun.org. Apache. xerces. Internal. parsers. domparser. parse (domparser. Java: 239)
At com.sun.org. Apache. xerces. Internal. JAXP. documentbuilderimpl. parse (documentbuilderimpl. Java: 283)
At com. thoughtworks. xstream. Io. xml. domdriver. createreader (domdriver. Java: 79)
... 4 more
You can use NotePad to save the xml configuration file as an Anis encoded file.