Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The import javax.jws cannot be resolved in eclipse [duplicate]

Tags:

eclipse

tomcat

I am using Eclipse Version: Oxygen.1a Release (4.7.1a). I am trying to create a web service application. but when i am trying to create an interface class with import javax.jws.WebService; i am getting error as "The import javax.jws cannot be resolved"

I am using tomcat 8.5 and i have added the library in java build path.

like image 720
Monu Avatar asked Dec 13 '25 23:12

Monu


1 Answers

when i replaced jdk 9 with jdk 8 in program files it worked.

like image 161
Monu Avatar answered Dec 16 '25 22:12

Monu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!