An error screenshot
The solution is
Will & lt; parent> Version of the change to 1.0 version, will not report wrong.
thinking
According to Baidu, many users say that the version of Maven package is too low, and the version of spring tool suit is too high.
However, my Spring Tool Suit version 4.0, the Maven package version 3.6, and the JDK version 1.8 should match each other, but it still doesn’t work.
Inadvertently, such as screenshot modification, did not report an error, the reason is unknown, who can tell me, solve.
The answer
The solution is
Will & lt; parent> Version of the change to 1.0 version, will not report wrong.
thinking
According to Baidu, many users say that the version of Maven package is too low, and the version of spring tool suit is too high.
However, my Spring Tool Suit version 4.0, the Maven package version 3.6, and the JDK version 1.8 should match each other, but it still doesn’t work.
Inadvertently, such as screenshot modification, did not report an error, the reason is unknown, who can tell me, solve.
The answer
- what went wrong: Maven plug-in version is not compatible with the Eclipse solution: to pom configuration file. The XML add & lt; maven-jar-plugin.version> 3.1.1 & lt; /maven-jar-plugin.version> With respect to OK & lt; properties> & lt; java.version> 1.8 & lt; /java.version> & lt; spring-cloud.version> Greenwich.SR1< /spring-cloud.version> & lt; maven-jar-plugin.version> 3.1.1 & lt; /maven-jar-plugin.version> < /properties>
Read More:
- Spring boot problem 1: error reporting life processing instructions for building a spring boot project
- Maven of springboot project pom.xml Unknown error in the first line of the file
- New Maven project– pom.xml report errors
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- Import Maven project pom.xml File error
- Maven project pom.xml Solutions to error reporting
- Error in pom.xml file of sub module of Maven aggregation project
- Maven project pom.xml The solution of error report in execution of
- About maven Pom.xml Personal solutions to reporting errors!!!
- Idea2020.2 encountered pom.xml The problem of file error report in Maven plug-in tomcat7
- How to solve the problem that the project module turns grey in Maven
- pom.xml Depending on the error report, the problem of missing artifact XXX is solved
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back
- Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.4.0:repackage failed
- Application of IntelliJ idea in Maven project pom.xml Add dependency
- Solution of maven pom.xml dependency invalidation in IntelliJ
- Error in the project tag in the POM file of Maven project: failure to transfer
- [save] Maven’s pom.xml Labeled xsi:schemaLocation Error report
- Error in STS importing POM file of Maven project
- When SSM + Maven project is running, it is prompted that org.springframework.web.servlet.dispatcherserservlet cannot be found