打开导入的项目,java文件好多红×错误 解决:右击项目–属性–java build path–libaries–jre–edit 使用Alternate JRE,选择系统已经安装好的java版本 Apply and close 重新运行项目即可