hi;
it seems that the jndi xsd is not available at http://www.springframework.org/schem...pring-jndi.xsd (at the time of this writing)
this seem to affect my application that cannot be started now (see stack trace below) do i have alternatives? i would not want my application to be dependent on this xsd extrernally for a correct startup.
thanks in advance.
stack trace:
Code:03/06/2006 10:40:52 org.apache.catalina.core.ApplicationContext log INFO: Loading Spring root WebApplicationContext 2006-06-03 10:40:52 [main] WARN factory.xml.XmlBeanDefinitionReader - Ignored XML validation warning org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema documen t 'http://www.springframework.org/schema/jndi/spring-jndi.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element o f the document is not <xsd:schema>. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX ParseException(ErrorHandlerWrapper.java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(E rrorHandlerWrapper.java:137) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError( XMLErrorReporter.java:378) at c... 2006-06-03 10:40:52 [main] ERROR web.context.ContextLoader - Context initializa tion failed org.springframework.beans.factory.BeanDefinitionStoreException: Line 152 in XML document from ServletContext resource [/WEB-INF/spring-config.xml] is invalid; n ested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The ma tching wildcard is strict, but no declaration can be found for element 'jndi:loo kup'. Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jndi:lookup'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX ParseException(ErrorHandlerWrapper.java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err orHandlerWrapper.java:172) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError( XMLErrorReporter.java:382) ... at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) 03/06/2006 10:40:52 org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart 03/06/2006 10:40:52 org.apache.catalina.core.StandardContext start SEVERE: Context [] startup failed due to previous errors 03/06/2006 10:40:52 org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext 03/06/2006 10:40:53 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 03/06/2006 10:40:53 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 03/06/2006 10:40:53 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/47 config=null 03/06/2006 10:40:53 org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource 03/06/2006 10:40:53 org.apache.catalina.startup.Catalina start INFO: Server startup in 4985 ms


Reply With Quote