Access restriction on class due to restriction on required library rt.jar?

前端 未结 15 1962
忘掉有多难
忘掉有多难 2020-11-22 01:09

I\'m attempting to compile Java 1.4 code that was created by IBM\'s WSDL2Java on Java5 without recreating

15条回答
  •  庸人自扰
    2020-11-22 01:22

    • Go to the Build Path settings in the project properties. Windows -> Preferences -> Java Compiler
    • Remove the JRE System Library
    • Add another JRE with a "perfect match"
    • clean and build your project again. It worked for me.

提交回复
热议问题