Spring boot - java.lang.ClassNotFoundException: javax.servlet.ServletContext and Unable to start EmbeddedWebApplicationContext
springboot 启动报错 java.lang.IllegalStateException: Failed to introspect annotated methods on class org
解决方案:
The issue was with the build.gradle
provided "org.springframework.boot:spring-boot-starter-tomcat"
Intellij wasn't happy with the provided
as soon as I switched to
compile "org.springframework.boot:spring-boot-starter-tomcat"
the application worked