2 Replies Latest reply on Jul 23, 2013 5:53 PM by Los Morales

    jackson switchyard lib conflict

    Los Morales Newbie

      I'm currently using the new Jackson libs (2.2.2) and when I deploy the SY app onto JBoss EAP 6.1, I get what looks to be a classloading issue:


      Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/type/TypeReference
                at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_34]
                at java.lang.ClassLoader.defineClassCond(Unknown Source) [rt.jar:1.6.0_34]
                at java.lang.ClassLoader.defineClass(Unknown Source) [rt.jar:1.6.0_34]
                at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:344) [jboss-modules.jar:1.2.0.Final-redhat-1]
                at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:422) [jboss-modules.jar:1.2.0.Final-redhat-1]
                ... 20 more
      Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.type.TypeReference from [Module "deployment.switchyard-example.jar:main" from Service Module Loader]
                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1]



      I've looked this up and seems like I can add a jboss-deployment-structure.xml file with the proper exclusions, however I do not know where to place this file since all the examples have in under META-INF in the war file, which SY is not.  Any ideas?