A better servlet 3.0 api dependency entry in pom is available here – https://github.com/SpringSource/greenhouse/tree/servlet3, you should also mark the scope as provided
, otherwise the jar will be included in your final war which will interfere with the jar provided by the container which is what seems to be happening in your case.
More Related Contents:
- What is difference between @RequestBody and @RequestParam?
- What is the difference between ApplicationContext and WebApplicationContext in Spring MVC?
- Spring Boot not serving static content
- Spring 3 RequestMapping: Get path value
- No WebApplicationContext found: no ContextLoaderListener registered?
- ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
- create two method for same url pattern with different arguments
- Spring Boot CORS filter – CORS preflight channel did not succeed
- When use ResponseEntity and @RestController for Spring RESTful applications
- Can SpringMVC be configured to process all requests, but exclude static content directories?
- automatically add header to every response
- Send datas from html to controller in Thymeleaf?
- How exactly does the Spring BeanPostProcessor work?
- Spring HandlerInterceptor vs Servlet Filters
- No Spring WebApplicationInitializer types detected on classpath
- 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
- How to use LocalDateTime RequestParam in Spring? I get “Failed to convert String to LocalDateTime”
- getting exception: No bean named ‘springSecurityFilterChain’ is defined
- spring autowiring not working from a non-spring managed class
- 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
- With Spring Security 3.2.0.RELEASE, how can I get the CSRF token in a page that is purely HTML with no tag libs
- Spring – How to stream large multipart file uploads to database without storing on local file system [duplicate]
- Understanding contexts in Spring MVC
- Spring MVC bean mapping to HTTP GET request parameters similar to @BeanParam
- SPRING REST: The request was rejected because no multipart boundary was found