首页 > 代码库 > Eclipse JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer

Eclipse JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer

pom.xml文件中添加:

<build>

<plugins>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-compiler-plugin</artifactId>

<configuration>

<source>1.8</source>

<target>1.8</target>

</configuration>

</plugin>

</plugins>

</build>

Eclipse JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer