导入Myeclipse导入maven项目报DescriptionResourcePathLocationType One or more constraints have not been s
来源:互联网 发布:java文件上传和下载 编辑:程序博客网 时间:2024/06/14 15:16
最近在学maven,一直都在idea上配置maven项目和编写,昨天想把maven项目导入myeclipse,一直报
One or more constraints have not been satisfied.
JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer.
在网上找了很多方法,有的需要设置project fact,
有的需要在pox.xml文件添加
<configuration>
<source>1.7(修改成自己JDK的版本)</source>
<target>1.7(修改成自己JDK的版本)</target>
</configuration>
但都没用。最后在stackoverflow找到解决办法
需要在pom.xml文件中配置
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
这样问题就可以解决了。
注:这两者之间的差别可以参考http://blog.csdn.net/xyls12345/article/details/24990665
阅读全文
1 0
- 导入Myeclipse导入maven项目报DescriptionResourcePathLocationType One or more constraints have not been s
- maven - Type One or more constraints have not been satisfied
- Maven错误:One or more constraints have not been satisfied
- 解决eclipse中MAVEN项目提示One or more constraints have not been satisfied
- 解决maven项目One or more constraints have not been satisfied
- maven项目,提示One or more constraints have not been satisfied
- maven创建项目后出现“One or more constraints have not been satisfied、Dynamic Web Module 3.0 requires ”错误解决办法
- one or more constraints have not been satisfied
- One or more constraints have not been satisfied.(SAPUI5+Eclipse)
- 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.
- One or more constraints have not been satisfied.
- One or more constraints have not been satisfied. 问题解决
- 解决One or more constraints have not been satisfied问题
- ML Note : Octave
- <Android开源库> MPAndroidChart Wiki(译文)~Part 3
- debian下用源码安ros编译opencv2.4.9
- C语言的输入和输出函数
- Spring Cloud构建微服务架构(四)分布式配置中心(续)
- 导入Myeclipse导入maven项目报DescriptionResourcePathLocationType One or more constraints have not been s
- 常用命令行
- 集群健康检查api
- 大数定律
- android webView加载网络视频
- Asp.net mvc中过滤器
- 大龄程序员怎样渡过中年危机?很多思考,挺有意思的。
- 命令行终止服务和进程命令
- js循环处理的表达式 for、for in、while