Failed to execute goal org.apache.maven.plugins:****:Cannot create resource out

[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 -rf :services-sso

这个错误提示因为包名的target文件夹被其他地方打开了,关闭引用重新打包就可以了。
 

你可能感兴趣的:(maven打包报错,maven)