As the servlet API is already present in servlet containers, it is wrong to put it in compile scope.
In my case, it even created a compile-time problem in Eclipse, because I had the servlet 3.0 API in test scope and it was replaced by the 2.5 API, leading to missing methods.
As the servlet API is already present in servlet containers, it is wrong to put it in compile scope.
In my case, it even created a compile-time problem in Eclipse, because I had the servlet 3.0 API in test scope and it was replaced by the 2.5 API, leading to missing methods.