Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources (default-reso

Error:Maven Resources Compiler: Failed to copy 'D:\java_pro\fun\src\main\resources\static\febs\config.js' to 'D:\java_pro\fun\target\classes\static\febs\config.js': D:\java_pro\fun\target\classes\static\febs\config.js (拒绝访问。)
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources (default-reso

maven打包报错

项目构建报错

最后发现是因为部署项目时打开了xftp,xftp占用了target文件。

填坑

你可能感兴趣的:(java,java,maven)