Hi Ah yeah the uber .jar I forgot about that one. Imagine how big your classpath would be if you had to add all the .jars for all components they use :)
On Fri, Feb 27, 2009 at 11:21 AM, James Strachan <[email protected]> wrote: > 2009/2/27 skappel <[email protected]>: >> 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? > > BTW you often get warnings when using the big uber apache-camel. > > If you use the individual modules from maven/ivy such as camel-quartz > or camel-mina, they know their exact dependencies so you don't get > ClassNotFound exceptions. If you don't use maven or ivy and want to > know the dependencies of each module you want to use you can use the > generated maven site to view them... > http://camel.apache.org/maven/ > > e.g. > http://camel.apache.org/maven/camel-mina/dependencies.html > http://camel.apache.org/maven/camel-quartz/dependencies.html > > Though using your IDE/maven/ivy to resolve them removes all the manual > error prone work; particularly as these dependencies typically change > version with each release. > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/
