Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on

 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project springboot1: Failed to clean project: Failed to delete F:\springboot1\target ->
To see the full stack trace of the errors, re-run Maven with the -e switch.

出现这个问题的原因是在项目springboot1的target文件路径下打开了启动springboot1的cmd命令窗口。导致打包springboot1项目失败。下面有提示To see the full stack trace of the errors, re-run Maven with the -e switch。需要关闭一个maven,重新打开。

解决办法:关闭启动springboot1的cmd命令窗口。再次进行打包就可以了。

猜你喜欢

转载自blog.csdn.net/study_7forever/article/details/89456960
今日推荐