java - nested exception is org.xml.sax.SAXParseException -
this error m facing:
context initialization failed: org.springframework.beans.factory.xml.xmlbeandefinitionstoreexception: line 9 in xml document servletcontext resource [/web-inf/config/sdnext-servlet.xml] invalid; nested exception org.xml.sax.saxparseexception; linenumber: 9; columnnumber: 62; document root element "beans", must match doctype root "xml".
and dispatcher servlet have tried using prefix not able find solution sdnext-servlet.xml
<?xml version="1.0" encoding="utf-8"?> <!doctype xml> <beans xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns="http://www.springframework.org/schema/beans" xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd"> </beans>
Comments
Post a Comment