解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
来源:互联网 发布:公司网络维护外包 编辑:程序博客网 时间:2024/06/06 01:27
别人有不如自己有,原位置:http://www.cnblogs.com/huige-you/p/4195174.html#undefined
应用版本:eclipse luna4.4.1
JDK:1.8
Maven:3.2.5
问题现象:
1、编译工程后总该是显示下面两个错误:
One or more constraints have not been satisfied.
Deployment Assembly跟java版本不匹配
解决方案:
在pom.xml中添加下面内容即可,同时也可以解决Maven->update project默认jdk的问题
<profiles> <profile> <id>jdk-1.8</id> <!-- 另外一种激活方式 --> <activation> <activeByDefault>true</activeByDefault> <jdk>1.8</jdk> </activation> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target><maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> </properties> </profile></prof
0 0
- 解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
- 解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
- 解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
- 解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
- 解决eclipse中MAVEN项目提示One or more constraints have not been satisfied
- 解决One or more constraints have not been satisfied问题
- maven - Type One or more constraints have not been satisfied
- Maven错误:One or more constraints have not been satisfied
- One or more constraints have not been satisfied.(SAPUI5+Eclipse)
- maven项目,提示One or more constraints have not been satisfied
- 解决maven项目One or more constraints have not been satisfied
- one or more constraints have not been satisfied
- one or more constraints have not been satisfied
- One or more constraints have not been satisfied.
- Type One or more constraints have not been satisfied
- One or more constraints have not been satisfied.
- One or more constraints have not been satisfied.
- Type One or more constraints have not been satisfied.
- QT--base20161125 layout嵌套使用
- Android基础面试题
- 安卓定时
- 首个Adobe XD教程丨如何用Adobe Experience Design (XD)快速设计图标
- Java开发中的23种设计模式详解
- 解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
- Javascript和Jquery之间转化
- 如何写好面向对象程序
- Jfinal+quartz实现作业调度
- 快速求幂
- IDEA更换浏览器
- Android Studio开发应用桌面出现两个图标
- CEO、CTO是什么的缩写
- 山东某单位“软件代码重构”企业内训圆满结束!