Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将一些 JTB 和 JavaCC 生成的文件导入到 Eclipse 中,有一行给我一个错误 - 大多数类文件的第一行(注释)说“无法解析类型 java.lang.Object。它间接引用自所需的 .class 文件”我该如何解决这个问题?
您是否尝试过在项目中删除和添加 JRE?
Project
Properties
Java Build Path
Libraries
Add Library
PS:Project->Clean也很有用。
Clean