I have a very simple webapp. I’m using gradle war plugin. It doesn’t see src/main/webapp in the classpath when running tests, but it does see it when building a WAR for deployment. Also, STS keeps removing src/main/webapp as source folder.
This helps with the former issue: sourceSets.test.runtimeClasspath += files(“src/main/webapp”) but not with the latter. Anyway, I thought src/main/webapp was a fairly standard location? Thanks for any help.