错误截图:
解决办法:
1、进入Project --> Properties --> Java Build Path --> Libraries
2、remove 掉 JRE System Library
3、Add Library 重新加入JRE System Library