camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Pollack <>
Subject Re: NoClassDefFoundError for unrelated classes
Date Fri, 27 Feb 2009 22:26:17 GMT
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 <>
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
WARNING: Could not find 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message