I am trying to build a SpringBoot application.
import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootAppli
Looks like you have an incompatible version of Servlet API in ur classpath. This could have been as a dependencies to Jersey jars. Try pulling jersey starter from Spring boot starters.
org.springframework.boot : spring-boot-starter-jersey
This will bring the right version into your classpath.