记录SpringBoot学习中的bug
1.Plugins报错
这个地方没有报错,但是下图的Plugins报错
(此图没有报错是因为我加入下列代码)
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.3.5.RELEASE</version>//加入了这行代码
</plugin>
</plugins>
</build>
2.在setting.xml中修改了成阿里的镜像,但是下载的速度仍然很慢,这个时候我们要在pom.xml文件中加入下列代码。速度就贼快
<repositories>
<repository>
<id>nexus-aliyun</id>
<name>nexus-aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>