maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed
2017-07-18 23:42
429 查看
项目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>之间加入下列代码
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
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>之间加入下列代码
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</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
- 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
- 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
- Maven学习总结(35)——Maven项目错误 JAX-RS (REST Web Services) 2.0 can not be installed问题
- JavaServer Faces 2.0 can not be installed解决方案
- 解决maven3.5.0项目报错“JavaServer Faces 2.2 can not be installed : One or more constraints”问题
- JAX-RS (REST Web Services) 2.0 requires Java 1.7 o
- JavaServer Faces 2.0 can not be installed解决方案
- 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错误的解决
- JAX-RS(REST Web Services)2.0 requires Dynamic Web Module 3.1 or newer
- JavaServer Faces 2.0 can not be installed解决方案
- JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer