Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-22 Thread Camel Guy
Thanks for your help, Claus and Willem. I'm doing OK with 2.13.2. I'll try
again in a few weeks. Like you said, it probably was an old JAR file. To
answer one of your questions, I don't use a servlet container. Restlet is
great with Camel and I look forward to using Apache Spark.

On Sat, Sep 20, 2014 at 11:33 PM, Claus Ibsen claus.ib...@gmail.com wrote:

 Hi

 Can you tell more about how you run that application? Is it in some
 server and if so what is that? And do you run as WAR / OSGi or
 something else.

 And make sure you do not have mixed version of Camel. As it sounds
 like you got both 2.14 and 2.13 etc.

 And can you paste the entire stracktrace of that error?

 On Sun, Sep 21, 2014 at 4:25 AM, Camel Guy ca...@devguy.com wrote:
  Deleted ~/.m2/repository and rebuilt everything. Same problem. Going back
  to 2.13.2.
 
  cg
 
  On Sat, Sep 20, 2014 at 9:02 AM, Camel Guy ca...@devguy.com wrote:
 
  Looks like the latest one to me. Also, I ran -U with mvn install and
  also clean.
 
  I will try again in a few hours.
 
  cg
 
 
  On Saturday, September 20, 2014, Willem Jiang willem.ji...@gmail.com
  wrote:
 
  Hi,
 
  Can you check if you camel-core jar is the latest one.
 
  --
  Willem Jiang
 
  Red Hat, Inc.
  Web: http://www.redhat.com
  Blog: http://willemjiang.blogspot.com (English)
  http://jnn.iteye.com (Chinese)
  Twitter: willemjiang
  Weibo: 姜宁willem
 
 
 
  On September 20, 2014 at 2:08:34 PM, Camel Guy (ca...@devguy.com)
 wrote:
   Hello,
  
   I'm getting this with the Restlet component in 2.14.0.
  
   java.lang.NoClassDefFoundError:
 org/apache/camel/spi/RestConsumerFactory
  
  
   Thank you,
  
   ~dg
  
 
 



 --
 Claus Ibsen
 -
 Red Hat, Inc.
 Email: cib...@redhat.com
 Twitter: davsclaus
 Blog: http://davsclaus.com
 Author of Camel in Action: http://www.manning.com/ibsen
 hawtio: http://hawt.io/
 fabric8: http://fabric8.io/



Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-21 Thread Claus Ibsen
Hi

Can you tell more about how you run that application? Is it in some
server and if so what is that? And do you run as WAR / OSGi or
something else.

And make sure you do not have mixed version of Camel. As it sounds
like you got both 2.14 and 2.13 etc.

And can you paste the entire stracktrace of that error?

On Sun, Sep 21, 2014 at 4:25 AM, Camel Guy ca...@devguy.com wrote:
 Deleted ~/.m2/repository and rebuilt everything. Same problem. Going back
 to 2.13.2.

 cg

 On Sat, Sep 20, 2014 at 9:02 AM, Camel Guy ca...@devguy.com wrote:

 Looks like the latest one to me. Also, I ran -U with mvn install and
 also clean.

 I will try again in a few hours.

 cg


 On Saturday, September 20, 2014, Willem Jiang willem.ji...@gmail.com
 wrote:

 Hi,

 Can you check if you camel-core jar is the latest one.

 --
 Willem Jiang

 Red Hat, Inc.
 Web: http://www.redhat.com
 Blog: http://willemjiang.blogspot.com (English)
 http://jnn.iteye.com (Chinese)
 Twitter: willemjiang
 Weibo: 姜宁willem



 On September 20, 2014 at 2:08:34 PM, Camel Guy (ca...@devguy.com) wrote:
  Hello,
 
  I'm getting this with the Restlet component in 2.14.0.
 
  java.lang.NoClassDefFoundError: org/apache/camel/spi/RestConsumerFactory
 
 
  Thank you,
 
  ~dg
 





-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/


Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Willem Jiang
Hi,

Can you check if you camel-core jar is the latest one.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On September 20, 2014 at 2:08:34 PM, Camel Guy (ca...@devguy.com) wrote:
 Hello,
  
 I'm getting this with the Restlet component in 2.14.0.
  
 java.lang.NoClassDefFoundError: org/apache/camel/spi/RestConsumerFactory  
  
  
 Thank you,
  
 ~dg
  



Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Camel Guy
Looks like the latest one to me. Also, I ran -U with mvn install and
also clean.

I will try again in a few hours.

cg


On Saturday, September 20, 2014, Willem Jiang willem.ji...@gmail.com
wrote:

 Hi,

 Can you check if you camel-core jar is the latest one.

 --
 Willem Jiang

 Red Hat, Inc.
 Web: http://www.redhat.com
 Blog: http://willemjiang.blogspot.com (English)
 http://jnn.iteye.com (Chinese)
 Twitter: willemjiang
 Weibo: 姜宁willem



 On September 20, 2014 at 2:08:34 PM, Camel Guy (ca...@devguy.com
 javascript:;) wrote:
  Hello,
 
  I'm getting this with the Restlet component in 2.14.0.
 
  java.lang.NoClassDefFoundError: org/apache/camel/spi/RestConsumerFactory
 
 
  Thank you,
 
  ~dg
 




Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Willem Jiang
Hi,

I just checked the camel-core.jar of Apache Camel 2.14.0, there is a class of 
RestConsumerFactory.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On September 21, 2014 at 12:03:05 AM, Camel Guy (ca...@devguy.com) wrote:
 Looks like the latest one to me. Also, I ran -U with mvn install and
 also clean.
  
 I will try again in a few hours.
  
 cg
  
  
 On Saturday, September 20, 2014, Willem Jiang  
 wrote:
  
  Hi,
 
  Can you check if you camel-core jar is the latest one.
 
  --
  Willem Jiang
 
  Red Hat, Inc.
  Web: http://www.redhat.com
  Blog: http://willemjiang.blogspot.com (English)
  http://jnn.iteye.com (Chinese)
  Twitter: willemjiang
  Weibo: 姜宁willem
 
 
 
  On September 20, 2014 at 2:08:34 PM, Camel Guy (ca...@devguy.com
  ) wrote:
   Hello,
  
   I'm getting this with the Restlet component in 2.14.0.
  
   java.lang.NoClassDefFoundError: org/apache/camel/spi/RestConsumerFactory  
  
  
   Thank you,
  
   ~dg
  
 
 
  



Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Camel Guy
Deleted ~/.m2/repository and rebuilt everything. Same problem. Going back
to 2.13.2.

cg

On Sat, Sep 20, 2014 at 9:02 AM, Camel Guy ca...@devguy.com wrote:

 Looks like the latest one to me. Also, I ran -U with mvn install and
 also clean.

 I will try again in a few hours.

 cg


 On Saturday, September 20, 2014, Willem Jiang willem.ji...@gmail.com
 wrote:

 Hi,

 Can you check if you camel-core jar is the latest one.

 --
 Willem Jiang

 Red Hat, Inc.
 Web: http://www.redhat.com
 Blog: http://willemjiang.blogspot.com (English)
 http://jnn.iteye.com (Chinese)
 Twitter: willemjiang
 Weibo: 姜宁willem



 On September 20, 2014 at 2:08:34 PM, Camel Guy (ca...@devguy.com) wrote:
  Hello,
 
  I'm getting this with the Restlet component in 2.14.0.
 
  java.lang.NoClassDefFoundError: org/apache/camel/spi/RestConsumerFactory
 
 
  Thank you,
 
  ~dg