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

前端 未结 15 1730
忘掉有多难
忘掉有多难 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:17

    In addition to Nels Beckman's solution, I have the following tips:

    Under Configure Build Path, I had to rearrange the order of my entries under Order and Export.

    Additionally, as an Eclipse PDE developer, I needed to rearrange the order of my dependencies in my MANIFEST.MF, adding the problematic package as first on the list.

    Playing with these dials, along with running Project > Clean in between, I was able to resolve these warnings.

提交回复
热议问题