其他分享
首页 > 其他分享> > Springboot 入门级排错 Unable to start embedded Tomcat servlet container

Springboot 入门级排错 Unable to start embedded Tomcat servlet container

作者:互联网

在修改gradle dependcy 时阴差阳错多删了

implementation 'io.github.lognet:grpc-spring-boot-starter:4.5.6'
implementation 'org.springframework.boot:spring-boot-starter-web't


解决方案:

通过google stackoverflow 找到点子:

You need to add the tomcat dependency in your pom

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

标签:container,Springboot,implementation,spring,boot,排错,springframework,org,starter
来源: https://blog.csdn.net/rookiesx/article/details/123586595