Replacements for deprecated JPMS modules with Java EE APIs

后端 未结 8 1551
滥情空心
滥情空心 2020-11-22 05:23

Java 9 deprecated six modules that contain Java EE APIs and they are going to be removed soon:

  • java.activation with javax.activation pack
8条回答
  •  青春惊慌失措
    2020-11-22 06:28

    Im using jdk 11 + ant + ivy in my spring mvc project. I was getting error "package javax.jws does not exist" so I added javax.jws-api-1.1.jar to classpath and it worked! Just download the jar from https://repo1.maven.org/maven2/javax/jws/javax.jws-api/1.1/javax.jws-api-1.1.jar And add it to your classpath in your build.xml

提交回复
热议问题