首页 > 系统服务 > 详细

myeclipse maven install 错误: -source 1.3 中不支持注释

时间:2015-03-10 12:00:03      阅读:331      评论:0      收藏:0      [点我收藏+]
-source 1.3 中不支持注释 (请使用 -source 5 或更高版本以启用注释)       
  @Override
解决方式: 在项目的pom.xml文件中加入


<!-- 告诉maven支持java5 以上编译 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> <encoding>UTF-8</encoding> </configuration> </plugin>

myeclipse maven install 错误: -source 1.3 中不支持注释

原文:http://www.cnblogs.com/duyunpeng1992/p/4325497.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!