Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.12.3, 2.13.2, 2.14.0
-
None
-
Unknown
Description
When a camelRoute using the camel-groovy component is deployed on Karaf, we get this class not found exception. Apparently, the class is not imported and the package is not declared in the MANIFEST file of the component.
Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/callsite/CallSiteArray at script1413531356181697720774.$createCallSiteArray(script1413531356181697720774.groovy) at script1413531356181697720774.$getCallSiteArray(script1413531356181697720774.groovy) at script1413531356181697720774.__$swapInit(script1413531356181697720774.groovy) at script1413531356181697720774.<clinit>(script1413531356181697720774.groovy) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.7.0_51] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[:1.7.0_51] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.7.0_51] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[:1.7.0_51] at java.lang.Class.newInstance(Class.java:374)[:1.7.0_51] at org.apache.camel.language.groovy.GroovyExpression.instantiateScript(GroovyExpression.java:71) at org.apache.camel.language.groovy.GroovyExpression.evaluate(GroovyExpression.java:50) at org.apache.camel.builder.ProcessorBuilder$4.process(ProcessorBuilder.java:103) at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ... 89 more Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.callsite.CallSiteArray at java.net.URLClassLoader$1.run(URLClassLoader.java:366)[:1.7.0_51] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)[:1.7.0_51] at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_51] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)[:1.7.0_51] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)[:1.7.0_51] at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:648) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:401) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:758) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:746) ... 102 more