0 Replies Latest reply on Dec 26, 2012 6:45 PM by Anton Nikulin

    ava.lang.ClassNotFoundException: javax.activation.DataSource

    Anton Nikulin Newbie

      I have such problem, I use AS7 with switchyard modules and when i deploy my jar to it i have such exception
      :

      Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource from [Module "org.switchyard.runtime:main" from local module loader @51052d (roots: D:\Programming\switchyard-as7-0.5\modules)]

                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                ... 181 more

       

      I've tried to add activation module to manifest file using Dependencies: javax.activation.api, or define it as a global module in standalone.xml using <module name="javax.activation.api" slot="main"/>, but that didn't help.

       

      Can you help me please?