You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading a webapp based on StringTemplate4 from Tomcat7 to Tomcat8,
we were faced with a resource loading issue. The resources being located in a jar within a war.
Resource management module has been rewritten in Tomcat8 and as a side effect in StringTemplate, the root path now ends with a forward slash:
STGroupDir(st/tabs) found via CLASSPATH at jar:file:/opt/tomcat8/webapps/app/WEB-INF/lib/ui-impl.jar!/st/tabs/
StringTemplate now tries to find a resource with a corrupted (double slash) path:
When upgrading a webapp based on StringTemplate4 from Tomcat7 to Tomcat8,
we were faced with a resource loading issue. The resources being located in a jar within a war.
Resource management module has been rewritten in Tomcat8 and as a side effect in StringTemplate, the root path now ends with a forward slash:
StringTemplate now tries to find a resource with a corrupted (double slash) path:
I created a derived class which is just a temporary workaround but illustrates how I solved this issue:
The text was updated successfully, but these errors were encountered: