Eclipse import maven project error handling

Error 1:

 If an error occurs in pom.xml and the following picture appears:


Solution: Find this file in your maven local library and delete it directly. Here is my own version. This is my path. After getting rid of it, the problem will be solved.



Error 2: Appears in pom.xml dependency package


Solution: Find setting.xml and open it

Copy this URL into your browser,

Check whether jstorm-clients exists in the com/alibaba/jtorm directory. If it exists, check whether the version number is in your central library. If jstorm-clients does not exist, check whether it exists. Find the jstorm-all package in the same directory

Go into the directory of this package, open maven-metadata.xml , select a version and copy the configuration inside to the pom.xml in your project to solve the problem.



Question 3:


Solution: First check the jdk version in your project. If it is 1.6, change this to 1.7 or above. Then just find the package that has been bound in the error message in the local library and delete it.



Guess you like

Origin blog.csdn.net/csdn9874123/article/details/78738714