maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed
2017-01-30 03:36
633 查看
项目problem提示错误
JAX-RS (REST Web Services) 2.0 can not be installed : One or more constraints have not been satisfied
JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer.
解决方法:
在pom.xml我从JDK1.6改为1.7的jdk
<build>之间加入下列代码
JAX-RS (REST Web Services) 2.0 can not be installed : One or more constraints have not been satisfied
JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer.
解决方法:
在pom.xml我从JDK1.6改为1.7的jdk
<build>之间加入下列代码
1 <plugins> 2 <plugin> 3 <groupId>org.apache.maven.plugins</groupId> 4 <artifactId>maven-compiler-plugin</artifactId> 5 <version>3.0</version> 6 <configuration> 7 <source>1.7</source> 8 <target>1.7</target> 9 </configuration> 10 </plugin> 11 </plugins>
相关文章推荐
- maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed
- maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed
- maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed
- 使用maven整合ssm报错:JAX-RS (REST Web Services) 2.0 can not be installed
- Eclipse Java EE工程报错:JAX-RS (REST Web Services) 2.0 can not be installed、JAX-RS (REST Web Services) 2
- JAX-RS(REST Web Services)2.0 can not be installed: One or more constraints have not been satisfied
- JAX-RS(REST Web Services)2.0 can not be installed: One or more constraints have not been satisfied
- JAX-RS (REST Web Services) 2.0 can not be installed
- JAX-RS(REST Web Services)2.0 can not be installed: One or more constraints have not been satisfied
- Maven学习总结(35)——Maven项目错误 JAX-RS (REST Web Services) 2.0 can not be installed问题
- Eclipse JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer
- JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer.
- 解决maven3.5.0项目报错“JavaServer Faces 2.2 can not be installed : One or more constraints”问题
- Failed while installing JAX-RS (REST Web Services) 1.1. org.osgi.service.prefs.BackingStoreException: Resource '/.settings' does not exist.
- JavaServer Faces 2.0 can not be installed解决方案
- 搭建项目Maven+springMVC+hibernate时,JUnit测试出现报ClassNotFoundException错误的解决
- JavaServer Faces 2.0 can not be installed解决方案
- SpringSide 部署showcase项目出现 JAX-RS (REST Web Services) 2.0 can not be installed错误!
- JavaServer Faces 2.0 can not be installed解决方案
- JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer