Spring Boot 打包报错Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0

问题描述:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project helloworld: Input length = 1 -> [Help 1]

问题分析:

1、plugins标签里面缺少maven-resources-plugin依赖。


    
        
            org.springframework.boot
            spring-boot-maven-plugin
        
    

解决办法:添加maven-resources-plugin依赖。


    
        
            org.apache.maven.plugins
            maven-resources-plugin
            3.1.0
        
        
            org.springframew

你可能感兴趣的:(Spring,Boot,spring,boot,apache,maven)