java.lang.NoClassDefFoundError: javax/activation/DataSource on wsimport Intellij java 9

前端 未结 4 630
再見小時候
再見小時候 2020-12-15 06:27

i\'m trying to generate class stubs for a wsdl with Intellij-Idea 2017.2.5 (Webservices -> Generate code from wsdl...) using JDK-9

I\'m getting this exception and i

4条回答
  •  無奈伤痛
    2020-12-15 07:12

    I guess it can be useful. I have these additional packages in my soap project when switch from Java 8 to 10. Gradle:

    compile "javax.xml.bind:jaxb-api:2.3.0"
    compile "javax.activation:activation:1.1"
    compile "com.sun.xml.bind:jaxb-impl:2.3.0"
    compile "com.sun.xml.bind:jaxb-core:2.3.0"
    compile "com.sun.xml.ws:rt:2.3.0"
    compile "com.sun.xml.ws:jaxws-rt:2.3.0"
    

提交回复
热议问题