One or more constraints have not been satisfied.
错误说明:eclipse+maven下Java Resoures资源文件夹出现小红叉。错误提示内容:One or more constraints have not been satisfied.错误原因: Deployment Assembly跟Java版本不匹配,即maven默认编译版本与使用的jdk不匹配。解决方案:在pom中配置如下内容:<!-- 指定maven编译方式为jdk1.7版本 -
转载
2017-01-09 11:29:59 ·
210 阅读 ·
0 评论