eclipse中的maven出现红色的感叹号
-----这是因为maven项目没有自动编译,怎么办呢?
1.右击maven项目,单击Properties
2.单击java compiler
3.在弹出的项中单击building
4.将enable project specific setting复选框打钩
5.再将incomplete build path 改为warning, -- Circular dependencies 改为 warning
6.单击apply,然后再单击ok
如图所示: