Hi, I have to deploy my applictaion on a server with no internet access. When using schemaLocation pointing to the web spring will throw errorsduring processing of applicationContext.xml file. It was easy enough to fix the problem for spring, I simply changed http:// location to: classpath:org/springframework/beans/factory/xml/spring-beans-2.0.xsd
Unfortunately it's not that easy when it comes to camel. I know that the camel-spring.xsd is in the root of camel-spring.jar, however it seems I cannot configure it properly. I have tried: classpath:camel-spring.xsd but it gives me the same error as usual: Nested in org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.apache.camel.spring.handler.CamelNamespaceHandler] for namespace [http://camel.apache.org/schema/spring] I have also tried: classpath:META-INF/camel-spring.xsd this however gave me following error: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 76 in XML document from ServletContext resource [/WEB-INF/applicationContext.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 'camel:camelContext'. I am not sure how to get pass this. Any help will be appreciated. Krystian -- View this message in context: http://old.nabble.com/Using-local-camel-schema-on-server-with-no-internet-access-tp28340101p28340101.html Sent from the Camel - Users mailing list archive at Nabble.com.
