JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer. Auto-Service-web line 1 Maven Java EE Configuration Problem错误解决方法
错误提示
JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer. Auto-Service-web line 1 Maven Java EE Configuration Problem
解决方案
1.在pom.xml文件中添加
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
2.右键项目Maven--》Update Project
赞(1)
赏