ps -ef | grep tomcat | grep -v grep | sed 's/ [ ]*/:/g' | cut -d: -f3 | kill -9
./startup
ps -ef | grep tomcat | grep -v grep | sed 's/ [ ]*/:/g' | cut -d: -f3 | kill -9
./startup
1、 2、 3、 4、 5、 6、 7、運行 HelloWorld 啓動後內置的Tomcat服務器也同時啓動起來了,然後在瀏覽器中輸入 localhost:8080/hello