Tag Archives: Springboot package error

Springboot package error: failed to execute goal org.apache.maven.plugins:maven-resources-plugin: 3.2.0…

The solution was written above: modify the version of maven-Resources-plugin

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>

        <!--Modify the version here-->
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-resources-plugin</artifactId>
            <version>2.4.3</version>
        </plugin>
        <!---->

    </plugins>
</build>

Question: Today want to wrap springboot item packaged into a Jar or war packages, all of a sudden has been told me Failed to execute goal. Org. Apache maven. Plugins: maven - resources - the plugin: 3.2.0 </ code>, package </ code> and install </ code> command cannot be performed, Then I see that the version of my Maven-resources-plugin is 3.2.0. After looking up a lot of information, I wonder if it is the version problem. Then I change the version number below, and it becomes.

continue!