servlet报错怎么解决

  介绍

这篇文章主要介绍”servlet报错怎么解决”,在日常操作中,相信很多人在servlet报错怎么解决问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答“servlet报错怎么解决”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

 org.springframework.context.ApplicationContextException:, Unable 用start  web 服务器;,nested  exception  is  org.springframework.context.ApplicationContextException:, Unable 用start  ServletWebServerApplicationContext  due 用missing  ServletWebServerFactory  bean。
  at  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh (ServletWebServerApplicationContext.java: 155), ~ (spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java: 544), ~ (spring-context-5.0.9.RELEASE.jar 5.0.9.RELEASE):
  at  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java: 140), ~ (spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.boot.SpringApplication.refresh (SpringApplication.java: 780), [spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java: 412), [spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.boot.SpringApplication.run (SpringApplication.java: 333), [spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.boot.SpringApplication.run (SpringApplication.java: 1277), [spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.boot.SpringApplication.run (SpringApplication.java: 1265), [spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  com.dist.SpringbootdemoApplication.main (SpringbootdemoApplication.java: 10),[类/na):
  Caused 通过:org.springframework.context.ApplicationContextException: Unable 用start  ServletWebServerApplicationContext  due 用missing  ServletWebServerFactory  bean。
  at  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory (ServletWebServerApplicationContext.java: 204), ~ (spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer (ServletWebServerApplicationContext.java: 178), ~ (spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  at  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh (ServletWebServerApplicationContext.java: 152), ~ (spring-boot-2.0.5.RELEASE.jar 2.0.5.RELEASE):
  …,8,common  frames 省略了

解决方案注释
 servlet报错怎么解决

到此,关于“servlet报错怎么解决”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!

servlet报错怎么解决