在使用maven 打包或者编译时报:-source1.3 中不支持注释错误解决方案如下:

<build>
  <plugins>
   <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.0.2</version>
    <configuration>
     <source>1.5</source>
     <target>1.5</target>
    </configuration>
   </plugin>

  </plugins>
 </build>

添加如下配置就不会再报错了

 

参考链接:http://wcp88888888.iteye.com/blog/1343382

相关文章:

  • 2021-12-01
  • 2021-10-22
  • 2021-06-15
  • 2021-07-02
  • 2022-12-23
  • 2021-08-13
  • 2021-08-23
猜你喜欢
  • 2021-06-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2021-10-11
  • 2022-12-23
  • 2021-11-07
相关资源
相似解决方案