spring-boot-maven-plugin报红解决方案(亲测有效)
作者:ZXB小白学编程
本文主要介绍了spring-boot-maven-plugin报红解决方案,文中通过示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
本文主要介绍了spring-boot-maven-plugin报红解决方案,亲测有效,具体如下:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<modules>
<module>day15</module>
</modules>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.4</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>cn.tedu</groupId>
<artifactId>springboot05</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>springboot05</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.18</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.5.4</version>
</plugin>
</plugins>
</build>
</project>
到此这篇关于spring-boot-maven-plugin报红解决方案(亲测有效)的文章就介绍到这了,更多相关spring-boot-maven-plugin报红内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!
您可能感兴趣的文章:
- spring-boot-maven-plugin 插件的作用详解
- spring-boot-maven-plugin引入出现爆红(已解决)
- Springboot的spring-boot-maven-plugin导入失败的解决方案
- spring-boot-maven-plugin 配置有啥用
- spring-boot-maven-plugin:打包时排除provided依赖问题
- 解决spring-boot-maven-plugin报红的问题
- SpringBoot中的maven插件spring-boot-maven-plugin使用
- SpringBoot Maven打包插件spring-boot-maven-plugin无法解析原因
