Today, when writing a sub module of a project, I found that the pom.xml of the sub module has been reporting errors. I checked that the jar package in the warehouse has been successfully downloaded. Other reasons have been eliminated, but I can’t find the reason. So Baidu searched for a method useful for my project (the development tool is eclipse). First, select the parent project of the aggregation project, right-click – run as – maven clean
then, after running successfully, you can see a build success message on the console
. Then, right-click – run as – Maven install
again, After running successfully, you can see that the console also has a build success message
finally, right click the parent project – maven – update project, and the error of pom.xml of the child project is successfully solved
reference website: https://blog.csdn.net/weixin_ 42428357/article/details/82014472
Read More:
- Maven of springboot project pom.xml Unknown error in the first line of the file
- Import Maven project pom.xml File error
- New Maven project– pom.xml report errors
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back
- Maven project pom.xml The solution of error report in execution of
- Error in the project tag in the POM file of Maven project: failure to transfer
- Application of IntelliJ idea in Maven project pom.xml Add dependency
- Error in STS importing POM file of Maven project
- Maven project pom.xml Solutions to error reporting
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- Idea2020.2 encountered pom.xml The problem of file error report in Maven plug-in tomcat7
- Solution of maven pom.xml dependency invalidation in IntelliJ
- The spring boot project was first created, pom.xml The error is Maven configuration problem. How to solve it?
- Where’s Maven pom.xml Configure aliyun warehouse in
- About maven Pom.xml Personal solutions to reporting errors!!!
- [save] Maven’s pom.xml Labeled xsi:schemaLocation Error report
- Error in Maven packaging web project: webxml attribute is required (or pre existing WEB-INF)/ web.xml if executing in update)
- Unknown error in POM file of springboot project
- Error in Maven POM file: multiple annotations found at this line solution
- How to solve the problem that the project module turns grey in Maven