SpringBoot项目打包报错:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:res...

一、报错描述

Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources (default-resources) on project mscodeall: Cannot create resource output directory: F:\project(2020)\code\xxxx\xxxxx\mscodeall\target\classes


二、错误原因及解决办法

错误原因:target目录路径在xftp中被占用,将xftp关掉后就可以了。



1.png

你可能感兴趣的:(SpringBoot项目打包报错:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:res...)