---
title: "现有web系统替换成Spring Boot2框架 之20 启动报错处理"
author: "sanry"
date: "2019-03-05T16:59:28Z"
tags: ["启动报错"]
categories: ["编程语言"]
slug: "web-spring-boot2-20"
draft: false
lastmod: "2019-03-05T16:59:27Z"
id: 2437854
url: "https://sanry.iteye.com/blog/2437854"
---

启动报错：Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

处理方式在App.java启动类上添加注解@SpringBootApplication