We are in the process of writing an application (for a Spring MVC/Web Flow book) and we use Gradle as our build tool. We hoped to be able to use the Gradle support build-in STS. However strange things happen.
We have a multi module project and each web project has 'org.glassfish:javax.servlet:3.0' and 'org.glassfish:javax.servlet.jsp:3.0' as a providedCompile dependency for the web app. If we now deploy this application to the tc server shipped with STS (or an freshly installed tomcat) we get errors as soon as a page is being displayed.
We get LinkageErrors on the classes from the javax.servlet package. It appears as if the jars get deployed with the application and also loaded.
The strange thing is if we use the eclipse plugin from gradle (gradlew cleanEclipse eclipse) it works like a charm, but using the plugin from STS we constantly get these exceptions.