Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14099

Failed to define class org.apache.camel.script.osgi.Activator

    XMLWordPrintable

Details

    • build2

    Description

      13:58:05,426 WARN  [org.jboss.modules.define] (pool-94-thread-1) Failed to define class org.apache.camel.script.osgi.Activator in Module "org.apache.camel.component.script" version 2.21.0.fuse-770011 from local module loader @2b546384 (finder: local module finder @5d740a0f (roots: /home/jenkins/workspace/wildfly-camel-pullreq/itests/standalone/basic/target/jboss-eap-7.2/modules,/home/jenkins/workspace/wildfly-camel-pullreq/itests/standalone/basic/target/jboss-eap-7.2/modules/system/layers/fuse,/home/jenkins/workspace/wildfly-camel-pullreq/itests/standalone/basic/target/jboss-eap-7.2/modules/system/layers/base)): java.lang.NoClassDefFoundError: Failed to link org/apache/camel/script/osgi/Activator (Module "org.apache.camel.component.script" version 2.21.0.fuse-770011 from local module loader @2b546384 (finder: local module finder @5d740a0f (roots: /home/jenkins/workspace/wildfly-camel-pullreq/itests/standalone/basic/target/jboss-eap-7.2/modules,/home/jenkins/workspace/wildfly-camel-pullreq/itests/standalone/basic/target/jboss-eap-7.2/modules/system/layers/fuse,/home/jenkins/workspace/wildfly-camel-pullreq/itests/standalone/basic/target/jboss-eap-7.2/modules/system/layers/base))): org/apache/camel/impl/osgi/tracker/BundleTrackerCustomizer
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      	at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:423)
      	at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:519)
      	at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:339)
      	at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:126)
      	at org.jboss.modules.Module.loadModuleClass(Module.java:731)
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:264)
      	at org.apache.camel.builder.script.ScriptBuilder.checkForOSGiEngine(ScriptBuilder.java:383)
      	at org.apache.camel.builder.script.ScriptBuilder.tryCreateScriptEngine(ScriptBuilder.java:370)
      	at org.apache.camel.builder.script.ScriptBuilder.createScriptEngine(ScriptBuilder.java:336)
      	at org.apache.camel.builder.script.ScriptBuilder.<init>(ScriptBuilder.java:111)
      	at org.apache.camel.builder.script.ScriptBuilder.<init>(ScriptBuilder.java:80)
      	at org.apache.camel.builder.script.ScriptBuilder.script(ScriptBuilder.java:211)
      	at org.wildfly.camel.test.script.ScriptIntegrationTest$1.configure(ScriptIntegrationTest.java:78)
      	at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:462)
      	at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:402)
      	at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:383)
      	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:1027)
      	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:1024)
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3270)
      	at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:1024)
      	at org.wildfly.camel.test.script.ScriptIntegrationTest.scriptProcessing(ScriptIntegrationTest.java:75)
      	at org.wildfly.camel.test.script.ScriptIntegrationTest.testJavaScript(ScriptIntegrationTest.java:70)
      

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Zheng Feng Zheng Feng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: