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!
Read More:
- [Solved] presto Compile Error: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check
- [Solved] scala Error: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exe
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- Apache Altas Compile Error: [ERROR] Failed to execute goal on project atlas-testtools: Could not resolve
- [Solved] org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin
- [Maven Error] Exception in thread “main” java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
- How to Solve Maven Error: Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.ap
- Maven package error: [WARNING] The POM for xxx is missing, no dependency inform
- [Solved] Maven log jar package conflict error: Class path contains multiple SLF4J bindings
- [Solved] Springboot Error: org.apache.catalina.core.ContainerBase : A child container failed during start
- Prompt unknown error in pom.xml of Maven project
- [Solved] There are test failures. Please refer to D:\Java_study\springboot\springboot-sugon-3\target\surefire-reports for the individual test results.
- Maven compiles Scala and reports an error stackoverflowerror
- Maven Configurate Error: [ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec
- [Solved] Maven Error: The packaging for this project did not assign a file to the build artifact
- Start error in maven web project java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener
- Solve Maven project running error Failed to clean project: Failed to delete
- [Solved] Sparksql error: Exception in thread “main” org.apache.spark.sql.catalyst.errors.package$TreeNodeException
- [SpringBoot] Maven Error: Connection refused to host: 127.0.0.1
- How to Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.