2 Replies Latest reply on Jun 15, 2012 7:26 AM by nicolas duminil

    org.apache.camel.ValidationException: ClassNotFoundException

    nicolas duminil Master

      Greetings,

       

      I have the following route:

       

           

      Deploying it raises:

       

      Caused by: java.lang.ClassNotFoundException: org.apache.CamelException

              at org.apache.camel.impl.DefaultClassResolver.resolveMandatoryClass(DefaultClassResolver.java:52)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]

              at org.apache.camel.model.CatchDefinition.createExceptionClasses(CatchDefinition.java:254)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]

              at org.apache.camel.model.CatchDefinition.createProcessor(CatchDefinition.java:91)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]

              at org.apache.camel.model.TryDefinition.createProcessor(TryDefinition.java:90)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]

              at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:430)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]

              at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:183)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]

              at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:817)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]

       

      I tried with CamelException but it raises the same exception. If I replace it with java.lang.Throwable there is no any more exception.

       

      However, the mentioned classes are in the camel-core package which is installed on the server.

       

      What could be the problem here ?

       

      Many thanks in advance.

       

      Nicolas