Hi
I ran into an issue while running my junit tests, the error I get is as
follows
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
2844 in XML document from class path resource
[config/domesticCamel-context.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: cos-all-limited.1.2: An ''all'' model group
must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that
particle must be part of a pair which constitutes the '{'content type'}' of
a complex type definition.
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
The attached file contains the full stack trace
I am writing some camel routes, but those routes depend on code in another
maven module internal to our company. When I added the dependency to the
other module in my code, this error started appearing in my junits
>From looking online, it looks like there is a duplicate version of a jar
file on the classpath but I cant figure out which jar it is
I was wondering if anyone has any hints or tips or knows off hand what the
offending jar file may be?
I know this is not a specific camel question but would appreciate if anyone
could offer any assistance
Cheers
Damien
http://camel.465427.n5.nabble.com/file/n5715106/TestError.txt TestError.txt
--
View this message in context:
http://camel.465427.n5.nabble.com/Error-Running-JUnit-Test-tp5715106.html
Sent from the Camel - Users mailing list archive at Nabble.com.