Caused by: org.springframework.context.ApplicationContextException: Unable to start ServletWebServer
错误原因:SpringApplication.run();中的类名书写错误,应该是写成springboot启动类的类名而不是其他的如下所示,我启动类的类名为Main,那么在run方法中应该为Main.class而不是其它@SpringBootApplicationpublicclassMain{publicstaticvoidmain(String[]args){SpringApplication