最赞回答 / xiemaoyu
已找到解决方法,只需往pom.xml文件中加入<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <...
2018-03-04
maven官网下载时候不要下载apache-maven-3.5.2-src.zip要下载apache-maven-3.5.2-bin.zip
2018-03-04
输入一长串命令之后出错了
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\xuchong\Desktop\code\maven03). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\xuchong\Desktop\code\maven03). Please verify you invoked Maven from the correct directory. -> [Help 1]
2018-03-02
有点神奇啊,我打包了两次,第一次失败了,清空控制台,再打包一次就成功了,期间没有改过任何东西
2018-02-28