首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

use -source 五 or higher to enable annotations

2013-07-11 
use -source 5 or higher to enable annotationspom.xml中加入:buildpluginsplugingroupIdorg.apa

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>

热点排行