spring-boot-maven-plugin is red in the pom.xml configuration file of idea's springBoot project

Solution: add the version number

<version>2.3.4.RELEASE</version>

The version number is found in the maven repository:

……/mavenRepository/org/springframework/boot/spring-boot-maven-plugin

Complete configuration file:

<!--构建-->
<build>
	<plugins>
		<!--创建可执行的jar包-->
		<plugin>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-maven-plugin</artifactId>
			<version>2.3.4.RELEASE</version>
		</plugin>
	</plugins>
</build>

Guess you like

Origin blog.csdn.net/weixin_44215363/article/details/109283360