Hi,
I just setup the petclinic sample in 3.0.0M2, and run it within Eclipse3.4.2, the JRE i am using is jdk1.6update13. when i run the tomcat, i got an error: "org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/aop/spring-aop-2.5.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>."
i've checked the similar questions like this but not got any good solution to it yet: didn't find any invalide character in applicationConext-*.xml; jre1.6 for xml parsing,....
I shall be very thankful if anyone shed some light on this isse. I attached the detailed log below for your reference. Thanks in advance.
Code:Info: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-jdbc.xml] 2009-6-1 16:36:56 org.springframework.util.xml.SimpleSaxErrorHandler warning Warn: Ignored XML validation warning org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/aop/spring-aop-2.5.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at ... 2009-6-1 16:36:56 org.springframework.web.context.ContextLoader initWebApplicationContext Fatal: Context initialization failed org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 64 in XML document from ServletContext resource [/WEB-INF/applicationContext-jdbc.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aop:aspectj-autoproxy'. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:378) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:316) ...


Reply With Quote
