0 Replies Latest reply on Mar 8, 2018 8:34 AM by angelo.rlcosta

    switchyard version 2.1.0.Final error on SwitchYard: Wildfly Distribution

    angelo.rlcosta

      Hi guys,

       

      I have downloaded latest switchyard version 2.1.0.Final source code and trying to build it using mvn -Pwildfly clean install but getting the bellow error when it's building the last module: SwitchYard: Wildfly Distribution.

       

      Any ideas on how to solve this?

       

      12:45:55,353 WARN  [org.jboss.modules] (MSC service thread 1-6) Failed to define class org.apache.camel.script.osgi.Activator in Module "org.apache.camel.script:main" from local module loader @18ef96 (finder: local module finder @6956de9 (roots: E:\GITHUB\jboss-

      switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules,E:\GITHUB\jboss-switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules\system\layers\soa,E:\GITHUB\jboss-switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules\system\layers\bpms,E:\GITHUB\jboss-switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules\system\layers\base)): java.lang.NoClassDefFoundError: Failed to link org/apache/camel/script/osgi/Activator (Module "org.apache.camel.script:main" from local module loader @18ef96 (finder: local module finder @6956de9 (roots: E:\GITHUB\jboss-switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules,E:\GITHUB\jboss-switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules\system\layers\soa,E:\GITHUB\jboss-switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules\system\layers\bpms,E:\GITHUB\jboss-switchyard\switchyard-2.1.0.Final\release\jboss-as7\wildfly\dist\target\jboss-switchyard\wildfly-10.0.0.Final\modules\system\layers\base))): org/osgi/framework/BundleActivator

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

       

      Best regards,

      Ângelo Costa