java.lang.Object cannot be resolved in Eclipse

后端 未结 18 2169
青春惊慌失措
青春惊慌失措 2020-12-13 09:12

When I installed the latest installment in Mac OSX - the Mountain Lion - I experienced some problems getting Eclipse to work I also lost most of my Android developer files

18条回答
  •  Happy的楠姐
    2020-12-13 09:55

    I had this problem moving a Maven project from Eclipse to RAD. I had a JSP file that worked in Tomcat and JBoss, but threw a NullPointerException in WebSphere on the form definition during the compile.

    Anyway, after transforming the Maven project into an Ant project (mvn ant:ant), I imported the Ant project into RAD and got this error. The fix:

    1. Open the Java Build Path, selecting the Libraries tab.
    2. Find the JRE System Library and remove it.
    3. Add the JRE System Library.

    Goofy, but it works. It must reset some property in a file. I don't know if the problem is the older version of Eclipse or RAD.

提交回复
热议问题