wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes org.xml.sax.SAXParseException: Document root element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null"." Watch "org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null"." New topic
Author

org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".

Ankita Jha
Ranch Hand

Joined: Sep 15, 2008
Posts: 55
hello ranches,
While working with Spring and jdbc,getting the attached error,

kindly give in your suggestions.
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Hello Ankita,

It seems there is some problem with application-service.xml. You haven't mapped your bean properly. I would interested to see that file.
Ankita Jha
Ranch Hand

Joined: Sep 15, 2008
Posts: 55
thnks vishal,but my issues was solved...
problem was with some jar files....


thanks anyways....
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Nice to hear Ankita!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".