运行maven项目出现如下错误
解决方法如下:
1.右击项目,选择properties->Myeclipse->project facet
2 选择java 1.7
maven项目就会使用jdk1.7版本