这个是因为
项目右键build path --> configure build path -> 点击jre 然后如图配置。
2.解决:
就好了 哈哈哈哈哈哈
Maven 错误
原文:http://www.cnblogs.com/huo-94/p/7921383.html