camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: NoClassDefFoundError for unrelated classes
Date Sat, 28 Feb 2009 15:57:38 GMT

Thanks for reporting. I created an entry in FAQ

On Fri, Feb 27, 2009 at 11:26 PM, Bob Pollack
<> wrote:
> Just FYI, this behavior was probably triggered by your query string (?period=60000).
I have written a long post on this problem, at,
which I can't seem to post to this mailing list.  I'll add your workaround (don't use the
big jar) to this post.
> Several people have posted this problem, in various forms.  Perhaps the Camel documentation
should include a caution about what you can expect to see with the big jar.
> ________________________________
> From: skappel <>
> To:
> Sent: Friday, February 27, 2009 12:17:51 PM
> Subject: Re: NoClassDefFoundError for unrelated classes
> Solution: do not use the apache-camel jar.  Use camel-core and only the jars
> used in the application. These warning still appear:
> WARNING: Could not find class
> 'org/apache/activemq/camel/converter/InvokeJmsMessageListenerTest.class'
> WARNING: Could not find class
> 'org/apache/activemq/camel/converter/InvokeMessageListenerTest.class'
> This is caused by activemq-all-5.1.0.jar.  Both classes have a space between
> Listener and Test, causing a mismatch.
> skappel wrote:
>> The Timer or Quartz components and DSL as in:
>> from(timer://foo?period=60000) appear to generate NoClassDefFoundError and
>> ClassNotFound exceptions for unrelated components, such as Scala, Mina,
>> Http,etc.  There are also many warnings with
>> org.apache.camel.util.ResolverUtil addIfMatching.  The timers do function,
>> and the exceptions and warnings go away if parameters in the URI are
>> removed.  How do you make this Camel happy?
> --
> View this message in context:
> Sent from the Camel - Users (activemq) mailing list archive at

Claus Ibsen
Apache Camel Committer

Open Source Integration:

View raw message