启动注册中心失败
错误信息
org.springframework.context.ApplicationContextException:
Unable to start web server;
nested exception is org.springframework.context.
ApplicationContextException:
Unable to start
ServletWebServerApplicationContext due to missing
ServletWebServerFactory bean.
错误原因
一时间忘写开启Eureka 的注解了
在启动内添加上@EnableEurekaServer 重启动 成功了
注 : 这篇 纯属于提醒自己的粗心大意