Spring exception

L

lipika

Hi All,
I am getting the following exception while i tried to
implement my application over Springs framework.

Exception in thread "main"
org.springframework.beans.factory.BeanDefinitionStoreException: Line 4
in XML document from class path resource [com/metadata/jdbcbeans.xml]
is invalid; nested exception is org.xml.sax.SAXParseException:
Document root element "beans", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "beans", must
match DOCTYPE root "null".

Can anybody help?

Thanks in advance,
Lipika
 
A

Andreas Leitgeb

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

I'm not much int XML, but it seems like you forgot to
explicitly specify your root-element "beans" in some
entity "DOCTYPE".

Perhaps, the actual XML-data isn't compatible with what the
SAX-Parser expects.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top