You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Juan Backson <ju...@gmail.com> on 2008/11/09 07:35:10 UTC

Missing camel jars

Hi,
While trying to run activemq with Camel support, I am getting a whole
bunch of ClassNotFound exceptions,such as these:
ARN  AnnotationTypeConverterLoader  - Ignoring converter type:
org.apache.camel.converter.xmlbeans.XmlBeansConverter as a dependent
class could not be found: java.lang.NoClassDefFoundError:
org/apache/xmlbeans/impl/piccolo/xml/XMLStreamReader
java.lang.NoClassDefFoundError:
org/apache/xmlbeans/impl/piccolo/xml/XMLStreamReader
WARN  AnnotationTypeConverterLoader  - Ignoring converter type:
org.apache.camel.component.spring.integration.converter.SpringIntegrationConverter
as a dependent class could not be found:
java.lang.NoClassDefFoundError:
org/springframework/integration/message/Message
java.lang.NoClassDefFoundError: org/springframework/integration/message/Message

I did try putting the relevant camel jar files under activemq's lib
dir and modify the activemq script to add those jars into the
classpath explicitly, but activemq still complaints about those
missing lib.  Where should I be putting the camel jars to remove those
errors?

Thanks,

JB

Re: Missing camel jars

Posted by Gary Tully <ga...@gmail.com>.
I guess it is not the camel jars that are needed but the xbean and
spring dependent jars. The dependency information relating to the
activemq-maven-run plugin may be of help:
see: http://cwiki.apache.org/confluence/display/ACTIVEMQ/Maven2+ActiveMQ+Broker+Plugin

2008/11/9 Juan Backson <ju...@gmail.com>:
> Hi,
> While trying to run activemq with Camel support, I am getting a whole
> bunch of ClassNotFound exceptions,such as these:
> ARN  AnnotationTypeConverterLoader  - Ignoring converter type:
> org.apache.camel.converter.xmlbeans.XmlBeansConverter as a dependent
> class could not be found: java.lang.NoClassDefFoundError:
> org/apache/xmlbeans/impl/piccolo/xml/XMLStreamReader
> java.lang.NoClassDefFoundError:
> org/apache/xmlbeans/impl/piccolo/xml/XMLStreamReader
> WARN  AnnotationTypeConverterLoader  - Ignoring converter type:
> org.apache.camel.component.spring.integration.converter.SpringIntegrationConverter
> as a dependent class could not be found:
> java.lang.NoClassDefFoundError:
> org/springframework/integration/message/Message
> java.lang.NoClassDefFoundError: org/springframework/integration/message/Message
>
> I did try putting the relevant camel jar files under activemq's lib
> dir and modify the activemq script to add those jars into the
> classpath explicitly, but activemq still complaints about those
> missing lib.  Where should I be putting the camel jars to remove those
> errors?
>
> Thanks,
>
> JB
>