[ERROR ]Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.1.0:flatten (flatten) on pro
Posted dawa大娃bigbaby
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[ERROR ]Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.1.0:flatten (flatten) on pro相关的知识,希望对你有一定的参考价值。
今天在启动项目的时候,莫名的Maven install命令的时候出现错误
错误提示:Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.1.0:flatten (flatten) on project
[ERROR] Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.1.0:flatten (flatten) on project lis: 4 problems were encountered while building the effective model for com.sinosoft:lis:${revision}${changelist}
[ERROR] [WARNING] ‘build.plugins.plugin.version‘ for org.apache.maven.plugins:maven-compiler-plugin is missing. @
[ERROR] [WARNING] ‘build.plugins.plugin.version‘ for org.codehaus.mojo:flatten-maven-plugin is missing. @
[ERROR] [FATAL] Non-readable POM D:document aishou wlMaven
epositorycomsinosoftlis-dependencies${revision}${changelist}lis-dependencies-${revision}${changelist}.pom: D:document aishou wlMaven
epositorycomsinosoftlis-dependencies${revision}${changelist}lis-dependencies-${revision}${changelist}.pom (系统找不到指定的路径。) @ D:document aishou wlMaven
epositorycomsinosoftlis-dependencies${revision}${changelist}lis-dependencies-${revision}${changelist}.pom
[ERROR] [ERROR] ‘dependencies.dependency.version‘ for junit:junit:jar is missing. @
[ERROR]
[ERROR] -> [Help 1]
[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/MojoExecutionException
问题原因:
仓库里面没有获取到最新的包。或者引用到的jar包没有正常加载。或者包丢失
解决方法:
clean,install。注意不要开离线模式,获取最新的依赖。(从项目依赖的角度,去审核一遍你的仓库里的jar包)
以上是关于[ERROR ]Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.1.0:flatten (flatten) on pro的主要内容,如果未能解决你的问题,请参考以下文章
Error: failed to execute 'C:KeilARMARMCC'的解决办法
Java Error: Failed to validate certificate. The application will not be executed
Android异常篇 Error: Execution failed for task ‘:app:clean‘. Unable to delete file
Error:Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define xxxx
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c
vue 项目报错:Error in nextTick: "InvalidCharacterError: Failed to execute 'setAttribute' on