web123456

springboot_"spring-boot-maven-plugin" report red problem

Cause of the problem:

1. Maven is not refreshed
2. The plug-in download speed is too slow, that is, it is downloaded from a foreign central warehouse.

Solution

Open the file in your maven address, add the following content in the mirrors tag, and then save it. When you use maven to download the jar package again, you can see in the eclipse or IDEA console that will download it from the address provided by Alibaba Cloud. Speed ​​is faster than from the central warehouse.

 <mirror>  
      <id>alimaven</id>  
      <name>aliyun maven</name>  
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
      <mirrorOf>central</mirrorOf>          
    </mirror>