eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from r
生活随笔
收集整理的這篇文章主要介紹了
eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from r
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
大概意思就是.class文件引用錯誤, 聯想一下 編譯出了問題, JRE問題.
?
?
?解決辦法:
先在Java Bulid Path中把所有的JRE先remove掉,然后重新引入JRE即可。(?右鍵工程 > Build Path > Configure Build Path >?)
?
總結
以上是生活随笔為你收集整理的eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from r的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: maven上传源码脚本
- 下一篇: rabbitmq-5-案例1-简单的案例