Hi

Thanks for reporting. I created an entry in FAQ
http://cwiki.apache.org/confluence/display/CAMEL/Why+do+Camel+throw+so+many+NoClassDefFoundException+on+startup

On Fri, Feb 27, 2009 at 11:26 PM, Bob Pollack
<[email protected]> wrote:
> Just FYI, this behavior was probably triggered by your query string 
> (?period=60000). I have written a long post on this problem, at 
> http://www.nabble.com/More-info-on-class-not-found-exception-tt22086106.html#a22086106,
>  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 <[email protected]>
> To: [email protected]
> 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: 
> http://www.nabble.com/NoClassDefFoundError-for-unrelated-classes-tp22239685p22250210.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Reply via email to