maven打包

maven打 war包配置文件注释乱码

- 修改Eclipse中文本文件的默认编码:windows->Preferences->general->Workspace->Text file encoding设置为UTF-8
- 修改JAVA源文件的默认编码:windows->Preferences->general->Content Types->右侧Context Types树,点开Text,选择Java Source File,在下面的Default encoding输入框中输入UTF-8,点Update

这里我的项目的pom文件里面设置了encoding为utf-8
<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

改了之后正常



http://blog.csdn.net/wabiaozia/article/details/52798194
maven怎么 引入 自定义(或本地/第三方) jar的三种方式

猜你喜欢

转载自pengfeifei26.iteye.com/blog/2379202