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改为1.7的jdk(但是应该改为自己版本,貌似有bug)
<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>
</build>
上面代码中
<source>1.7代表自己jdk版本</source>
<target>1.7代表自己jdk版本</target>
但是问题又来了,我的jdk1.8改完之后还会报错,然后我修改为1.7就好了,这个问题好奇葩!!!
问题解决了!!