Make sure you are using m2eclipse as well. Like Willem said, adding a dependency to your pom.xml file will get the lib added to the project classpath. A good m2eclipse reference is here http://www.sonatype.com/books/m2eclipse-book/reference/
Cheers, Jon On Tue, Aug 2, 2011 at 4:32 AM, Willem Jiang <[email protected]> wrote: > You are using maven, please update the jersey dependency in the pom. > It has nothing to do with your eclipse project build path. > > > On Tue Aug 2 14:14:25 2011, dead_devil_66 wrote: > >> Greetings. >> >> I had a similar issue with activemq and httpservlet, that, until now, >> stayed >> unsolved, in the activemq forum. Now, its camel and jersey classes. This >> is >> what its going on: this is my code: >> >> http://pastie.org/2307602 >> >> I have already included the jersey jar in the eclipse project buildpath. >> But, when i start the router, this is what i get, in the console: >> >> http://pastie.org/2307614 >> >> >> But, as i said, i included the jar in the buildpath! Im really lost in >> here. >> :/ >> >> -- >> View this message in context: http://camel.465427.n5.nabble.** >> com/Can-t-use-jersey-library-**classes-within-processor-** >> tp4657633p4657633.html<http://camel.465427.n5.nabble.com/Can-t-use-jersey-library-classes-within-processor-tp4657633p4657633.html> >> Sent from the Camel - Users mailing list archive at Nabble.com. >> > > > > -- > Willem > ------------------------------**---- > FuseSource > Web: http://www.fusesource.com > Blog: > http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang Weibo: willemjiang > -- Cheers, Jon --------------- FuseSource Email: [email protected] Web: fusesource.com Twitter: jon_anstey Blog: http://janstey.blogspot.com Author of Camel in Action: http://manning.com/ibsen
