Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1456

Cannot run a project as Local Camel Context (wildfly-camel-archetype-spring)

XMLWordPrintable

      1. create a Fuse project from wildfly-camel-archetype-spring archetype
      2. run as Local Camel Context

      I get an error (see below), when I try to Run As Local Camel Context a project from wildfly-camel-archetype-spring archetype:

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 07:04 min
      [INFO] Finished at: 2015-09-24T14:24:13+02:00
      [INFO] Final Memory: 24M/247M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.3.4.RC0:run (default-cli) on project wildfly-camel-spring: Execution default-cli of goal org.eclipse.jetty:jetty-maven-plugin:9.3.4.RC0:run failed: A required class was missing while executing org.eclipse.jetty:jetty-maven-plugin:9.3.4.RC0:run: Lorg/apache/camel/CamelContext;
      [ERROR] -----------------------------------------------------
      [ERROR] realm =    plugin>org.eclipse.jetty:jetty-maven-plugin:9.3.4.RC0
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-maven-plugin/9.3.4.RC0/jetty-maven-plugin-9.3.4.RC0.jar
      [ERROR] urls[1] = file:/home/tsedmik/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.1.1/sisu-inject-bean-2.1.1.jar
      [ERROR] urls[2] = file:/home/tsedmik/.m2/repository/org/sonatype/sisu/sisu-guice/2.9.4/sisu-guice-2.9.4-no_aop.jar
      [ERROR] urls[3] = file:/home/tsedmik/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.jar
      [ERROR] urls[4] = file:/home/tsedmik/.m2/repository/org/sonatype/aether/aether-util/1.11/aether-util-1.11.jar
      [ERROR] urls[5] = file:/home/tsedmik/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
      [ERROR] urls[6] = file:/home/tsedmik/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
      [ERROR] urls[7] = file:/home/tsedmik/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
      [ERROR] urls[8] = file:/home/tsedmik/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
      [ERROR] urls[9] = file:/home/tsedmik/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-tools-api/3.4/maven-plugin-tools-api-3.4.jar
      [ERROR] urls[10] = file:/home/tsedmik/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
      [ERROR] urls[11] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-util/9.3.4.RC0/jetty-util-9.3.4.RC0.jar
      [ERROR] urls[12] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-webapp/9.3.4.RC0/jetty-webapp-9.3.4.RC0.jar
      [ERROR] urls[13] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-xml/9.3.4.RC0/jetty-xml-9.3.4.RC0.jar
      [ERROR] urls[14] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-servlet/9.3.4.RC0/jetty-servlet-9.3.4.RC0.jar
      [ERROR] urls[15] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-quickstart/9.3.4.RC0/jetty-quickstart-9.3.4.RC0.jar
      [ERROR] urls[16] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-jaas/9.3.4.RC0/jetty-jaas-9.3.4.RC0.jar
      [ERROR] urls[17] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-security/9.3.4.RC0/jetty-security-9.3.4.RC0.jar
      [ERROR] urls[18] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-plus/9.3.4.RC0/jetty-plus-9.3.4.RC0.jar
      [ERROR] urls[19] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-jndi/9.3.4.RC0/jetty-jndi-9.3.4.RC0.jar
      [ERROR] urls[20] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-server/9.3.4.RC0/jetty-server-9.3.4.RC0.jar
      [ERROR] urls[21] = file:/home/tsedmik/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar
      [ERROR] urls[22] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-http/9.3.4.RC0/jetty-http-9.3.4.RC0.jar
      [ERROR] urls[23] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-io/9.3.4.RC0/jetty-io-9.3.4.RC0.jar
      [ERROR] urls[24] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-jmx/9.3.4.RC0/jetty-jmx-9.3.4.RC0.jar
      [ERROR] urls[25] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/jetty-annotations/9.3.4.RC0/jetty-annotations-9.3.4.RC0.jar
      [ERROR] urls[26] = file:/home/tsedmik/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar
      [ERROR] urls[27] = file:/home/tsedmik/.m2/repository/org/ow2/asm/asm/5.0.1/asm-5.0.1.jar
      [ERROR] urls[28] = file:/home/tsedmik/.m2/repository/org/ow2/asm/asm-commons/5.0.1/asm-commons-5.0.1.jar
      [ERROR] urls[29] = file:/home/tsedmik/.m2/repository/org/ow2/asm/asm-tree/5.0.1/asm-tree-5.0.1.jar
      [ERROR] urls[30] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/websocket/javax-websocket-server-impl/9.3.4.RC0/javax-websocket-server-impl-9.3.4.RC0.jar
      [ERROR] urls[31] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/websocket/javax-websocket-client-impl/9.3.4.RC0/javax-websocket-client-impl-9.3.4.RC0.jar
      [ERROR] urls[32] = file:/home/tsedmik/.m2/repository/javax/websocket/javax.websocket-api/1.0/javax.websocket-api-1.0.jar
      [ERROR] urls[33] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/websocket/websocket-server/9.3.4.RC0/websocket-server-9.3.4.RC0.jar
      [ERROR] urls[34] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/websocket/websocket-common/9.3.4.RC0/websocket-common-9.3.4.RC0.jar
      [ERROR] urls[35] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/websocket/websocket-api/9.3.4.RC0/websocket-api-9.3.4.RC0.jar
      [ERROR] urls[36] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/websocket/websocket-client/9.3.4.RC0/websocket-client-9.3.4.RC0.jar
      [ERROR] urls[37] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/websocket/websocket-servlet/9.3.4.RC0/websocket-servlet-9.3.4.RC0.jar
      [ERROR] urls[38] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/apache-jsp/9.3.4.RC0/apache-jsp-9.3.4.RC0.jar
      [ERROR] urls[39] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/toolchain/jetty-schemas/3.1.M0/jetty-schemas-3.1.M0.jar
      [ERROR] urls[40] = file:/home/tsedmik/.m2/repository/org/mortbay/jasper/apache-jsp/8.0.23.M1/apache-jsp-8.0.23.M1.jar
      [ERROR] urls[41] = file:/home/tsedmik/.m2/repository/org/mortbay/jasper/apache-el/8.0.23.M1/apache-el-8.0.23.M1.jar
      [ERROR] urls[42] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/orbit/org.eclipse.jdt.core/3.8.2.v20130121/org.eclipse.jdt.core-3.8.2.v20130121.jar
      [ERROR] urls[43] = file:/home/tsedmik/.m2/repository/org/eclipse/jetty/apache-jstl/9.3.4.RC0/apache-jstl-9.3.4.RC0.jar
      [ERROR] urls[44] = file:/home/tsedmik/.m2/repository/org/apache/taglibs/taglibs-standard-spec/1.2.1/taglibs-standard-spec-1.2.1.jar
      [ERROR] urls[45] = file:/home/tsedmik/.m2/repository/org/apache/taglibs/taglibs-standard-impl/1.2.1/taglibs-standard-impl-1.2.1.jar
      [ERROR] urls[46] = file:/home/tsedmik/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
      [ERROR] 
      [ERROR] -----------------------------------------------------: org.apache.camel.CamelContext
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
      

              lheinema@redhat.com Lars Heinemann
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: