天天看點

intellij IDEA配置tomcat

intellij idea配置tomcat

如果網上流傳的方法(即方法2)不能配置成功,點選加号什麼都沒有的話,請看方法一配置方法。

解決問題:intlellij idea配置tomcat點選加号沒東西。

方法一:手動添加tomcat插件然後再導入tomcat路徑。

步驟1:進入項目之前或者close project可以看到如下界面,選擇plugins

intellij IDEA配置tomcat

步驟2.在搜尋框輸入tomcat,并選中,點選ok。

intellij IDEA配置tomcat

步驟3:傳回後選擇settings。

intellij IDEA配置tomcat

步驟4:如下圖,此時點選加号便有了tomcat選項。

intellij IDEA配置tomcat

步驟5:選擇tomcat home為你的tomcat下載下傳(安裝即解壓就行)路徑如:e:\ide\tomcat-8.0.26

intellij IDEA配置tomcat

步驟6:點選ok,tomcat配置成功!

intellij IDEA配置tomcat

方法2:不再贅述,其實就是方法1從步驟4開始即可。