Eclipse build errors - java.lang.object cannot be resolved

    xiaoxiao2021-03-25  107

    Solution: It sounds like this  has been  a known issue (Bug  67414 )that was resolved in 3.0 ... someone has commented that it's occurring for them in 3.4 as well.  In the mean time, the work around is to remove the JRE System Library from the project and then add it back again.  Here are the steps: Go to properties of project with the build error (right click > Properties)View the "Libraries" tab in the "Build Path" sectionFind the "JRE System Library" in the list (if this is missing then this error message is not an eclipse bug but a mis-configured project)Remove the "JRE System Library"Hit "Add Library ...", Select "JRE System Library" and add the appropriate JRE for the project (eg. 'Workspace default JRE')Hit "Finish" in the library selection and "OK" in the project properties and then wait for the re-build of the projectHopefully the error will be resolved ...
    转载请注明原文地址: https://ju.6miu.com/read-13586.html

    最新回复(0)