I spent hours on this, and the solution was:
- Stop Tomcat
- “Project” menu -> Clean -> Clean all projects
- Servers tab -> Tomcat -> Right click -> Clean…
- Right click on project -> Run as -> Run on server
More Related Contents:
- Content type ‘application/x-www-form-urlencoded;charset=UTF-8’ not supported for @RequestBody MultiValueMap
- spring autowiring not working from a non-spring managed class
- Understanding contexts in Spring MVC
- Is it possible to invalidate a spring security session?
- Spring Boot not serving static content
- Spring 3 RequestMapping: Get path value
- How to add a hook to the application context initialization event?
- ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
- How to configure embedded Tomcat integrated with Spring to listen requests to IP address, besides localhost?
- When use ResponseEntity and @RestController for Spring RESTful applications
- Can SpringMVC be configured to process all requests, but exclude static content directories?
- Spring – Injecting a dependency into a ServletContextListener
- automatically add header to every response
- Send datas from html to controller in Thymeleaf?
- Spring HandlerInterceptor vs Servlet Filters
- A ‘simple’ way to implement Swagger in a Spring MVC application
- spring autowiring with unique beans: Spring expected single matching bean but found 2
- How to map dynamic url /prj/noticeOpen/2 in Spring MVC controller
- getting exception: No bean named ‘springSecurityFilterChain’ is defined
- Spring MVC @RestController and redirect
- How to parse gzip encoded response with RestTemplate in Spring-Web
- java.lang.IllegalArgumentException: A ServletContext is required to configure default servlet handling
- Spring Security 3.2 CSRF disable for specific URLs
- Configure Multiple MongoDB repositories with Spring Data Mongo
- Return a stream with Spring MVC’s ResponseEntity
- Redirect to dynamic URL in Spring MVC
- CSS not loading in Spring Boot
- Spring security 4 custom login j_spring_security_check return http 302
- How does server prioritize which type of web.xml error page to use?
- Adding custom RequestCondition’s in Spring mvc 3.1