clean and install 编译报错

                                   报错:Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install)

解决方案:

1.把maven日志调整成debug模式,重新打包会发现maven报错日志

clean and install  编译报错

 

clean and install  编译报错

完整的报错信息:

Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to install metadata com.dffl:bl-mall-trade-impl/maven-metadata.xml: Could not parse metadata E:\workspace\maven\apache-maven-3.6.2-bin\apache-maven-3.6.2\repoitory\com\dffl\bl-mall-trade-impl\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)

 

2.找到本地仓库的该文件下的错误文件,并移除

clean and install  编译报错

 

3.把此文件进行删除,然后clean and  install项目 ,项目打包成功

上一篇:支付宝即时到账接口开发 - DEMO讲解


下一篇:基于Python获取股票分析数据实践