eclipse中建立tomcat伺服器問題總結

2021-07-03 22:15:13 字數 438 閱讀 6390

操作環境:ubuntu,eclipse,tomcat 8.0.24

一. 問題描述:在eclipse中建立tomcat伺服器的時候,server name 不能自動填充,且不能手動新增,如下圖所示:

解決方案:

這是eclipse的乙個bug。

關閉 eclipse

在工作目錄下/.metadata/.plugins/org.eclipse.core.runtime/.settings刪除一下兩個檔案:

重啟 eclipse

二. 問題描述:could not load the tomcat server configuration at /servers/tomcat v7.0 server at localhost-config. the configuration may be corrupt or incomplete.

為eclipse和IDEA配置tomcat伺服器

當大家學習web的時候,會為自己的工具配置tomcat伺服器,但好多博友初學者對於tomcat伺服器的配置會有很多疑問,比如感覺其他人的電腦配置都那麼輕鬆,一下子就配置成功了,可是每每到自己就出現這樣那樣的問題,一度懷疑自己的電腦是假的,那是因為你對於有些東西還不太熟悉,才會導致這樣那樣的錯誤。以下...

在Eclipse中建立Django專案

在以前的分享中,我們是在命令列模式下建立django專案的,那麼,如何在ide中使用django呢?本文將介紹如何在eclipse中建立django專案。首先,新建django專案mysite,如下圖 注意上圖中的劃紅線部分,應該選擇 add project directory to the pyt...

在Eclipse中建立Django專案

在以前的分享中,我們是在命令列模式下建立django專案的,那麼,如何在ide中使用django呢?本文將介紹如何在eclipse中建立django專案。首先,新建django專案mysite,如下圖 注意上圖中的劃紅線部分,應該選擇 add project directory to the pyt...