新学springboot,建了个demo,启动项目时自动关闭了,网上找了很多答案,csdn上试过都不行,很是困扰,万能的sgf大佬们解个惑呢
pom.xml:
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.2.0.BUILD-SNAPSHOT
com.sunshinesever.web
web
0.0.1-SNAPSHOT
web
Demo project for Spring Boot
1.8
org.springframework.boot
spring-boot-starter
org.springframework.boot
spring-boot-starter-logging
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-security
org.springframework.boot
spring-boot-starter-jdbc
org.springframework.boot
spring-boot-starter-data-redis
com.vaadin.external.google
android-json
RELEASE
compile
net.minidev
json-smart
RELEASE
compile
com.alibaba
fastjson
1.2.21
javax.mail
1.4.1
javax.mail
1.4.1
javax.mail
1.4.1
javax.mail
1.4.1
org.apache.shiro
shiro-core
1.4.1
org.apache.shiro
shiro-spring
1.4.1
com.google.guava
guava
20.0
org.apache.xmlgraphics
fop
0.94
com.github.penggle
kaptcha
2.3.2
com.baomidou
mybatis-plus-boot-starter
3.1.1
joda-time
joda-time
2.9.6
org.springframework.boot
spring-boot-maven-plugin
spring-snapshots
Spring Snapshots
https://repo.spring.io/snapshot
true
spring-milestones
Spring Milestones
https://repo.spring.io/milestone
spring-snapshots
Spring Snapshots
https://repo.spring.io/snapshot
true
spring-milestones
Spring Milestones
https://repo.spring.io/milestone
结果如下: