JAVA eclipse Maven project red exclamation point solution, eclipsemaven

Source: Internet
Author: User

JAVA eclipse Maven project red exclamation point solution, eclipsemaven

 

 

I found that ch. qos. logback 1.1.1 encountered an error through Windows --> show view --> problems,

So I changed to ch. qos. logback 1.1.2 to solve the problem.

 

 

1 <! -- 1. log --> 2 <! -- Implement the slf4j interface and integrate --> 3 <dependency> 4 <groupId> ch. qos. logback </groupId> 5 <artifactId> logback-classic </artifactId> 6 <version> 1.1.2 </version> 7 </dependency>

 

 

 

Comprehensive solution provided on the Internet:

 

Solution 1:Select project --> right-click --> Maven --> Update Projects... to solve the problem.

 

Solution 2:If the preceding operations cannot be solved, choose Windows --> show view --> problems to view the cause of the problem in this view.

Solution 3:It may be because the jar files in the local repository conflict. In this case, we recommend that you back up the local repository, delete the local repository, and re-build the project.

Solution 4:It may be caused by the maven installation path. When maven is decompressed under Program Files on drive C and maven-related configuration is performed, a red exclamation point is reported.

If you are on drive C, we recommend that you change the path again and put it on drive D. Note that Chinese characters are not displayed in the path.

Solution 5:It may be due to the order of Configuration During the configuration of the pom. xml file. In this case, we recommend that you configure all the items to be configured before saving the pom. xml file. We do not recommend that you save a part of the pom. xml file without configuring it.

Solution 6:It may have been a problem with the jar package in the local repository. You can first clear all the jar packages in the local repository and reconfigure them so that maven can download the jar package.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.