获取tomcat路径

    String serverPath = System.getProperty("catalina.home");

原文地址:https://www.cnblogs.com/guolsblog/p/5945713.html