問題:是Tomcat配置選項問題。
在Eclipse中,雙擊打開Tomcat配置頁面,改這兩項:
- Server Locations -> 勾選 “Use Tomcat installation (takes control of Tomcat installation)”
- Server Options -> 勾選 “Publish module contexts to separate XML files”
問題:是Tomcat配置選項問題。
在Eclipse中,雙擊打開Tomcat配置頁面,改這兩項:
- Server Locations -> 勾選 “Use Tomcat installation (takes control of Tomcat installation)”
- Server Options -> 勾選 “Publish module contexts to separate XML files”
shell腳本獲取腳本所在目錄 執行腳本的父目錄不一定是當前的工作目錄。 url=$(dirname $(readlink -f $0))