Error with Spring Context Lookup Failed

org.glassfish.jersey.server.spring.SpringComponentProvider: Spring context lookup failed, skipping spring component provider initialization.

Why did I see this error?


<listener-class> org.springframework.web.context.ContextLoaderListener
<param-value>/WEB-INF/spring/applicationContext.xml</param-value> </context-param>


Now to understand why I saw this error:

public class Application extends SpringBootServletInitializer
public static void main(String[] args)
{ SpringApplication sa = new SpringApplication(Application.class);;




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store