简体   繁体   中英

java spring 3.0 mvc

whats the root cause of getting folloeing exception: org.xml.sax.SAXParseException: Content is not allowed in prolog. ]]

with root cause

its in server log. Whenever i try to make a post request to this url with an xml data...

It could be a problem with bogus characters in your XML file but I think I've seen this before when there were 2 versions of Spring on the classpath.

Can you post your XML file and also list the contents of your classpath.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM