java.lang.String cannot be resolved, Indirectly referenced from required .class file
2013-01-08 00:37
543 查看
Here is the solution.
It's similar to the link I found. http://dev-answers.blogspot.com/2009/06/eclipse-build-errors-javalangobject.html
Go to properties of project with the build error (right click > Properties)
View the "Libraries" tab in the "Build Path" section
Find 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 project
Hopefully the error will be resolved ...
It's similar to the link I found. http://dev-answers.blogspot.com/2009/06/eclipse-build-errors-javalangobject.html
Go to properties of project with the build error (right click > Properties)
View the "Libraries" tab in the "Build Path" section
Find 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 project
Hopefully the error will be resolved ...
相关文章推荐
- The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
- 问题1-The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class file
- The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class file
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class
- The type java.lang.reflect.AnnotatedElement cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- android 引入别的项目The type java.lang.Class cannot be resolved. It is indirectly referenced from required
- he type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files