本文主要是介绍Failed to execute goal org.apache.maven.pluginsmaven-resources-plugin3.1.0resources on project,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Maven package 打包时出现错误,记录一下。
错误信息:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources (default-resources) on project longtoshort: Cannot create resource output directory: D:Software工具Git_project3LongToShort argetclasses -> [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
错误原因:target目录路径在xftp中被占用,将xftp关掉后就ok了。
这篇关于Failed to execute goal org.apache.maven.pluginsmaven-resources-plugin3.1.0resources on project的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!