gradle-tomcat-plugin
gradle-tomcat-plugin copied to clipboard
getServletContext().getRealPath("/") returns null?
If I deploy the generated war file to Tomcat directly, the code can work. But with the Tomcat plugin, it returns null. Why?
Not sure. Might be a different in the implementation of embedded Tomcat vs. the full container setup.