好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

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

本文主要介绍了spring-boot-maven-plugin报红解决方案,亲测有效,具体如下:

?

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

<? xml version = "1.0" encoding = "UTF-8" ?>

< project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns:xsi = "http://HdhCmsTestw3.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报红内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!

原文链接:https://blog.csdn.net/qq_45015863/article/details/120315484

查看更多关于spring-boot-maven-plugin报红解决方案(亲测有效)的详细内容...

  阅读:20次