且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

春季靴子“光池关闭"早期错误

更新时间:2023-09-29 22:19:10

似乎您的类路径中没有任何嵌入式Web服务器. 尝试通过spring-boot-starter-web依赖项添加 Tomcat .

It seems you don't have any embedded web servers in your classpath. Try adding Tomcat through the spring-boot-starter-web dependency.

Maven pom.xml:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

成绩 build.gradle:

implementation 'org.springframework.boot:spring-boot-starter-web'