jre没有配置正确,解决方法如下:
This problem occurs if your built path is not configured properly in eclipse.
In eclipse to remove this error right click on your project -> Build Path -> Configure Build Path -> Libraries tag -> Add Library -> JRE System Library -> Select Alternate JRE -> select jre that is installed in your system -> Finish
The error was because you did not include default System libraries for your java projects and your class was not able to find Object() constructor which is call first before memory creation of your class
本文介绍了如何解决因JRE配置不正确导致的错误。通过在Eclipse中正确设置项目构建路径,选择合适的JRE系统库,可以有效解决此类问题。
1万+

被折叠的 条评论
为什么被折叠?



