解决方案:加载java的类库,在工程上右键选择属性->Java Build Path的Libraries->Add Library选择JRE System Library->点击Next->选择Execution environment并选择jre版本或workspace default jre(选择默认自带的jre和安装绑定过的才能起作用)->点击Finish。
相关文章
- 01-11子类继承父类时JVM报出Error:Implicit super constructor People() is undefined for default constructor. Must define an explicit constructor
- 01-11Implicit super constructor Object() is undefined for default constructor. Must define an explicit co
- 01-11Eclipse错误:Implicit super constructor ClassName is undefined for default constructor. Must define an explicit constructor