读书人

use -source 五 or higher to enable

发布时间: 2013-07-11 15:38:46 作者: rapoo

use -source 5 or higher to enable annotations
pom.xml中加入:

<build>    <plugins>       <plugin>            <groupId>org.apache.maven.plugins</groupId>    <artifactId>maven-compiler-plugin</artifactId>    <version>2.0.2</version>    <configuration>    <source>1.6</source>    <target>1.6</target>    </configuration></plugin>    </plugins> </build>

读书人网 >开源软件

热点推荐