You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Stefanie (Jira)" <ji...@apache.org> on 2021/02/12 20:49:00 UTC
[jira] [Created] (AMQ-8144) Missing dependency for parsing
Stefanie created AMQ-8144:
-----------------------------
Summary: Missing dependency for parsing <camelContext>
Key: AMQ-8144
URL: https://issues.apache.org/jira/browse/AMQ-8144
Project: ActiveMQ
Issue Type: Bug
Components: Camel
Affects Versions: 5.16.1
Reporter: Stefanie
When having a camel route within activemq.xml the config is not parsable. Thus the server instance couldn't be used.
{code:java}
// 2021-02-12 20:42:37,829 | ERROR | Failed to load: class path resource [activemq.xml], reason: Unexpected exception parsing XML document from class path resource [activemq.xml]; nested exception is java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader | org.apache.activemq.xbean.XBeanBrokerFactory | WrapperSimpleAppMain
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [activemq.xml]; nested exception is java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader
{code}
Adding jaxb-core-2.2.11.jar to the /lib directory solved the problem for me.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)