Community
Participate
Working Groups
The change for Tomcat bug https://issues.apache.org/bugzilla/show_bug.cgi?id=51644 has caused "Server modules without publishing" to be unable to process annotations. Starting with Tomcat 7.0.21, the WtpDirContext.file(String name) method is called with strings for name which no longer start with "/". This causes the "search" to fail to find any project folders that would map to that resource, causing FileNotFoundExceptions when Tomcat tries to find servlet classes to scan for annotations.
Created attachment 204620 [details] Updated org.eclipse.jst.server.tomcat.runtime.70.loader.jar Updated org.eclipse.jst.server.tomcat.runtime.70.loader.jar that continues to work with Tomcat 7.0.9 through 7.0.20 and now works with recent 7.0.21 and current 7.0.22.
Created attachment 204622 [details] Source project for the org.eclipse.jst.server.tomcat.runtime.70.loader.jar Source project for the org.eclipse.jst.server.tomcat.runtime.70.loader.jar.
The fix has been released to the WTP 3.2.5 stream and is present and verified in the current 3.2.5 build. I will fix this in the 3.3.2 and 3.4 streams soon, once I get those workspaces sync'd up.
Changes released to R3_3_maintenance for 3.3.2 and HEAD for 3.4. Marking fixed.
New Gerrit change created: https://git.eclipse.org/r/109074