[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources (default-resources) on project services-sso: Cannot create resource out
put directory: E:\IdeaProjects\services-sso\target\classes -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :services-sso
这个错误提示因为包名的target文件夹被其他地方打开了,关闭引用重新打包就可以了。
本文解析了一个常见的Maven构建错误,即在使用maven-resources-plugin插件时出现的资源输出目录创建失败问题。错误通常发生在包名的target文件夹被其他地方打开的情况下,解决方法是关闭所有对该项目的引用并重新打包。
4495

被折叠的 条评论
为什么被折叠?



