activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liviafernandes <liviafso...@gmail.com>
Subject activemq-core.xsd localy
Date Mon, 05 Apr 2010 21:12:45 GMT

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.


Mime
View raw message