Eclipse项目包上出现红叉是因为jdk的版本不一致。
项目名--->Properties----->Java Compiler
图1:
项目名--->Properties----->Project Facets
图2:
Window----->Preferences----->Compiler
图3:
!!!若次方法不可以可尝试警告关闭:
Eclipse项目包上出现红叉是因为jdk的版本不一致。
项目名--->Properties----->Java Compiler
图1:
项目名--->Properties----->Project Facets
图2:
Window----->Preferences----->Compiler
图3:
!!!若次方法不可以可尝试警告关闭:
转载于:https://www.cnblogs.com/Linlearn/p/10972423.html