Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1658

java.lang.NoClassDefFoundError: javax/activation/DataSource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • ManifoldCF 2.18
    • Build
    • None

    Description

      I am trying to compile the project with Ant. For both the main Project & the csws connector, I am facing the below error. It has been a decade since I used Ant. Please help:

      classcreate-wsdl-cxf:
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/DataSource
      [java] at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(RuntimeBuiltinLeafInfoImpl.java:478)
      [java] at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:63)
      [java] at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:128)
      [java] at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:84)
      [java] at com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:162)
      [java] at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:92)
      [java] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455)
      [java] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:303)
      [java] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:139)
      [java] at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1156)
      [java] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:165)
      [java] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:289)
      [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [java] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:217)
      [java] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:175)
      [java] at javax.xml.bind.ContextFinder.find(ContextFinder.java:353)
      [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:508)
      [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:465)
      [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:366)
      [java] at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
      [java] at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
      [java] at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
      [java] at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
      [java] at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:182)
      [java] Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
      [java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
      [java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
      [java] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      [java] ... 27 more
      [java] Java Result: 1

      Attachments

        1. csws.log
          4 kB
          Nav

        Activity

          People

            kwright@metacarta.com Karl Wright
            Navraj28 Nav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: