爱上风筝的谶爱 2018-01-16 03:02 采纳率: 100%
浏览 11494

idea中maven项目里面pom配置文件中的encoding标签报错

idea中maven项目里面pom配置文件中的encoding标签报错

在eclipse中maven项目可以正常运行,且相应pom不报错,但是在idea中的可以正常运行,但是pom文件中的encoding标签报错,显示Element encoding is not allowed, here ,标签encoding不允许在这里,请问这是什么原因啊,第一次发问题,希望大神们看下什么原因啊
相应配置文件:



org.apache.maven.plugins
maven-war-plugin
2.6

false
utf-8



  • 写回答

6条回答 默认 最新

  • threenewbee 2018-01-16 03:17
    关注

    试试看 maven.compiler.encoding

    或者这个pluging不支持encoding

    评论

报告相同问题?