软件编程
位置:首页>> 软件编程>> java编程>> spring-boot-maven-plugin报红解决方案(亲测有效)

spring-boot-maven-plugin报红解决方案(亲测有效)

作者:ZXB小白学编程  发布时间:2022-07-23 01:16:46 

标签:spring-boot-maven-plugin,报红

本文主要介绍了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>

来源:https://blog.csdn.net/qq_45015863/article/details/120315484

0
投稿

猜你喜欢

手机版 软件编程 asp之家 www.aspxhome.com