Home > Back-end >  You couldn't find in a jdk12 javax.mail. JWS. WebService class
You couldn't find in a jdk12 javax.mail. JWS. WebService class

Time:10-12

Is learning to WebServices interface development,
Installation is jdk12


Why can't import the javax.mail. JWS. WebService class?
"
All kinds of baidu also can not find the answer,
Please god help to solve,

CodePudding user response:

With such a high version of the JDK?

CodePudding user response:

The terrible with jdk12

CodePudding user response:

Have you found the answer?

CodePudding user response:

Introducing dependent package
& lt; ! - https://mvnrepository.com/artifact/javax.jws/javax.jws-api - & gt;
& lt; Dependency>
& lt; GroupId> Javax.mail. Jws
& lt; ArtifactId> Javax.mail. JWS - api
& lt; Version> 1.1 & lt;/version>
& lt;/dependency>

CodePudding user response:

The
refer to the original poster ibm026 response:
is learning WebServices interface development,
Installation is jdk12
Why can't import the javax.mail. JWS. WebService class?
"All kinds of baidu also can not find the answer,
Please help to solve the great god,


Novice learning books to according to oneself, java9 above you can understand for java8 castration version, only the most basic and many other functions need to import, Java version is not the higher the better

CodePudding user response:

Reference: https://blog.csdn.net/weixin_34378045/article/details/91804753
Using maven javax.jws:https://mvnrepository.com/artifact/org.glassfish.main.javaee-api/javax.jws/3.1.2.2
  • Related