camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Gargan <>
Subject Re: missing jars ?
Date Tue, 09 Feb 2010 01:11:41 GMT
Why not use ant or maven? Building out the classpath by hand is always
going to be tedious and time consuming and really not worth your time.
Camel has many transitive dependencies and trying ot pick and choose
them is going to be a real hit and miss affair, particularly where you
use an incorrect version. If you did manage to blindly find the
correct versions you'd be back to square one if you ever wanted to
upgrade your camel versions.

All the transitive dependency information is captured correctly in the
maven poms, so if you must cut your classpath by hand do yourself a
favour and check the poms for the correct versions.

A much better investment of this time would be to install maven,
bootstrap your project with the camel archetype or one of the many
examples and have maven generate your ide project files.

Why do you want to build it by hand?


On Mon, Feb 8, 2010 at 4:16 PM, NP-Hard <> wrote:
> Hi,
> I'm new to Camel and trying to build a simple example without using
> Ant or Maven, just adding all the jars from Camel and ActiveMQ to
> the classpath directly. My example uses the file and JMS connectors
> to pick up a file and write it to a topic.
> The program compiles ok but I'm getting a lot of runtime errors about
> missing classes. The first was javax.jcr.Value; I then downloaded
> jcr-1.0.jar
> and added it to the classpath. Now I'm getting an error about
> I get the feeling I'm missing a whole bunch of jars somehow ...
> Any help is much appreciated, thanks.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message