avatar

Maven报Process terminated

异常信息

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
E:\develop\Java\jdk_1.8\bin\java.exe -Dmaven.multiModuleProjectDirectory=E:\blog -Dmaven.home=C:\Users\lenovo\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3 -Dclassworlds.conf=C:\Users\lenovo\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3\bin\m2.conf -Dmaven.ext.class.path=E:\develop\IDEA\IDEA_2020.1\plugins\maven\lib\maven-event-listener.jar -javaagent:E:\develop\IDEA\IDEA_2020.1\lib\idea_rt.jar=64987:E:\develop\IDEA\IDEA_2020.1\bin -Dfile.encoding=UTF-8 -classpath C:\Users\lenovo\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;C:\Users\lenovo\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2020.2.2 -s E:\develop\Maven\apache-maven-3.6.3\conf\settings.xml -Dmaven.repo.local=E:\develop\Maven\repository -DskipTests=true install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module E:\blog\service\code_generator of E:\blog\service\pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.gao5805123:service:0.0.1-SNAPSHOT (E:\blog\service\pom.xml) has 1 error
[ERROR] Child module E:\blog\service\code_generator of E:\blog\service\pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Process terminated

异常描述

1
maven除clean外都报上述异常,但也不影响项目的运行

异常原因

1
service项目的pom.xml配置文件中存在问题,导致Maven报Process terminated异常

常见异常原因

pom.xml配置文件异常

配置文件

文章作者: 123
文章链接: https://gao5805123.github.io/123/2020/09/24/Maven%E6%8A%A5Process%20terminated/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 123
打赏
  • 微信
    微信
  • 支付宝
    支付宝