Try running compile goal before generate goal. - Romain
Le 22 mars 2012 19:58, "Nestor Urquiza" <nestor.urqu...@gmail.com> a écrit : > Can you please tell me what the content of input should be for a class in > package camelinaction named OrderRouteBuilder? > > I have tested with .class, with .java, without extension, using package > notation, using relative and absolute path notation and I always > get java.lang.ClassNotFoundException > > I must be missing something really trivial here. > > Thanks for your help, > -Nestor > > On Thu, Mar 22, 2012 at 2:51 PM, Romain Manni-Bucau [via Camel] < > ml-node+s465427n5587511...@n5.nabble.com> wrote: > > > The used class is the .class not the source. > > > > - Romain > > > > Le 22 mars 2012 19:36, "Nestor Urquiza" <[hidden email]< > http://user/SendEmail.jtp?type=node&node=5587511&i=0>> > > a écrit : > > > > > I tried that but it fails even though the class is indeed in the > > specified > > > package: > > > Caused by: java.lang.ClassNotFoundException: > > > camelinaction/OrderRouteBuilder > > > ... > > > $ ls src/main/java/camelinaction/OrderRouteBuilder.java > > > src/main/java/camelinaction/OrderRouteBuilder.java > > > > > > > > > On Thu, Mar 22, 2012 at 12:58 PM, Romain Manni-Bucau [via Camel] < > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5587511&i=1>> > > wrote: > > > > > > > did you add in the conf: > > > > > > > > <fileType>java</fileType>? > > > > > > > > > > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5587482.html > > > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > > http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5587511.html > > To unsubscribe from diagram generator, click here< > http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4375588&code=bmVzdG9yLnVycXVpemFAZ21haWwuY29tfDQzNzU1ODh8LTIwNDkyODYxNjE= > > > > . > > NAML< > http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5587524.html > Sent from the Camel - Users mailing list archive at Nabble.com.