Hi,

Somebody knows how to associate the activemq-core.xsd url with the
activemq.xsd found in the jar file (activemq-core-5.2.0.jar)?

I'm getting this error:
Caused by:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
19 in XML document from class path resource [jms-context.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
'amq:broker'.
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)

This shoud me hapening because we remove the URL from the schemaLocation
(http://activemq.apache.org/schema/core classpath:activemq.xsd), and we are
using localy. But I don't know why XML are not finding the activemq.xsd
during the build process. I add the JAR file in the classpath, should not
work like that??

Thanks. 
-- 
View this message in context: 
http://old.nabble.com/activemq-core.xsd-localy-tp28144820p28144820.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to