0

I have already read a lot about this error but I can't fix it on my eclipse 2020-06

I installed ide for web and javascript developers and jdk 11.

enter image description here

enter image description here

I did some changes to my projects in order to migrate them from java 1.8 to java 11.

I have only some errors to fix. The first is: The project was not built since its build path is incomplete. Cannot find the class file for javax.xml.rpc.Stub. Fix the build path then try building this project.

The second is: The type javax.xml.rpc.Stub cannot be resolved. It is indirectly referenced from required .class files...

They are related, so I think the problem is the same. I read that lib has been removed in java 11. I tried all solutions online but I can't fix it.

Can anyone help me please?

Thanks

EDIT: I added lib tab as required: enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here

Luke
  • 163
  • 4
  • 19
  • What do you have in _Project > Properties: Java Build Path_ in the tab _Libraries_? – howlger Jul 03 '20 at 11:38
  • I addedd screenshots of required tab. Thanks – Luke Jul 03 '20 at 12:41
  • Unless you're planning to use Java's modularization, the JRE should appear under Classpath, not Modulepath. – nitind Jul 04 '20 at 04:51
  • @nitind The system library of Java 9 or higher is always on the modulepath. This cannot be changed since no command line argument exists for that. – howlger Jul 05 '20 at 13:58
  • On the contrary, you can both remove it under the modulepath, and then add the Library back to classpath from the Java Build Path property page. – nitind Jul 06 '20 at 13:03

0 Answers0