System.setProperty("catalina.home", "D:\\apache-tomcat-8.0.15");
Bootstrap bootstrap = new Bootstrap();
bootstrap.init();
bootstrap.start();
//bootstrap.stop();
System.setProperty("catalina.home", "D:\\apache-tomcat-8.0.15");
Bootstrap bootstrap = new Bootstrap();
bootstrap.init();
bootstrap.start();
//bootstrap.stop();
转载于:https://my.oschina.net/hunterli/blog/827777