In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Most people do not understand the knowledge of this article "how to solve errors in pom files in springboot", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "pom documents in springboot project error reporting how to solve" article.
The problem of project error in springboot pom file is as follows
Solution
The 1:maven version should be consistent with the course, and the network disk should be downloaded directly.
The configuration of the 2:settings.xml should be consistent with the course. Most of the mistakes are made in this place. Check it again.
In the case of 3:pom.xml, input or copy the configuration in the course source code by hand; do not copy the pdf file directly, because there will be format problems if you copy it directly.
Case 4: if the above is solved and there is still a problem, then find 'Maven Project'' on the far right of IDEA and find a Lifecycle expansion under the project, first clean, then install.
Case 5: 99% of the above processing can be solved. If not, continue to start with situation 1.
Pom.xml reported an error at the project tag: Failed to read artifact descriptor for xxx:jar
For example, if there is such a problem, it is usually an error in downloading the jar package. The workaround is to delete the jar package.
Download it manually and then re-import the jar package.
Solution
According to the error prompt, go to C:\ Users\ Administrator.m2\ repository\ to find the jar package that went wrong.
For example, this is spark-core_2.11-2.2.0.jar.
C:\ Users\ Administrator.m2\ repository\ org\ apache\ spark\ spark-core_2.11\ 2.2.0
If you go to this folder, you will find a xxxx.pom.lastUpdated file, but this is the only file that has gone wrong.
Don't worry about deleting this file xxxx.pom.lastUpdated boldly.
Go to the corresponding maven library and directly search for the jar package you just downloaded and put it in the folder you just saw.
Reimport for a moment. For example, I do it on idea, mouse over the project tab, right-click the menu, find the maven option, and the first item in the submenu is reimport.
The above is about the content of this article on "how to solve the pom document project error in springboot". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.