maven-source 1.3 中不支持注释请使用 -source 5 或更高版本以启用注释
解决办法:
在pom里 加上以下代码
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build>
posted on 2016-05-29 16:31 nickTimer 阅读(3064) 评论(0) 编辑 收藏 举报