1. 程式人生 > >eclipse-maven-log警告:GBK編碼:

eclipse-maven-log警告:GBK編碼:

警告log: eclipse.buildId=4.6.3.M20170301-0400 java.version=1.8.0_152 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments:  -product org.eclipse.epp.package.jee.product Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
org.eclipse.m2e.logback.appender Warning Fri Nov 23 21:09:40 CST 2018 Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!     解決辦法:pom.xml 檔案加上:    <properties>           <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>