--- title: 'Eclipse and Tomcat配置' disqus: hackmd --- ###### tags: `Eclipse` Eclipse and Tomcat配置 === [TOC] ## 適用場景 有某些專案並非spring boot專案(spring boot要內建tomcat),想要在eclipse上面run,需要安裝server 使用war檔案部署在server端的tomcat,在eclipse直接輸出成war ## 檔案結構目錄 我們的目標是這樣的,簡單來說要在eclipse編輯器秀出這三個東西 ![](https://i.imgur.com/xt2B7Wf.png) ## 如何叫出來 windows => show view => other 裡面會有 ![](https://i.imgur.com/taMXdKB.png) 對server點兩下,就會跳到下面了 接下來對下面的tomcat 8.5 左鍵點兩下就會跳出來可以設定time out的地方了 ## 參考連結 [解決 Tomcat Server in Eclipse unable to start within 45 seconds 啟動過久的錯誤](https://www.ewdna.com/2011/12/tomcat-server-in-eclipse-unable-to.html)