camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: java.lang.NoClassDefFoundError when running CamelJmsToFileExample
Date Fri, 06 Mar 2009 05:08:48 GMT
On Thu, Mar 5, 2009 at 8:41 PM, m.s. <> wrote:
> Thanks for the clarification, working with Camel in a Maven project in
> NetBeans works great.
> Unfortunately, I have to use it in an Ant build project, so I have to care
> for resolving the dependencies myself. Is there a way to help me doing this
> with Maven, e.g. by bundling all dependencies I need in a single archive?
You can use ivy that works with ANT and can find maven dependencies.

For maven you can run: mvn dependency:list to get a list what is needed.

> M.S.
> willem.jiang wrote:
>> Yes. we don't ship all the dependencies in the binary distribution.
>> Because Camel has lots of components if we ship all the dependency jars,
>> the binary could be up to more than 100MB.
>> Fortunately maven could help us to do that kind of work :)
>> Willem
>> m.s. wrote:
>>> Thanks, it works when I use Maven to download all the .jars listed in the
>>> dependency list and add them to the libraries in the NetBeans IDE.
>>> So is it correct that the binary distribution does not contain all
>>> dependencies if I use the JMS Component or aother component?
>>> M.S.
> --
> 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