1. 程式人生 > >the selection cannot be run on any server 出現原因及解決辦法

the selection cannot be run on any server 出現原因及解決辦法

一.出現原因:

1.當在eclipse中project欄下,點選clean時,有時會導致上述問題

2.Dynamic web module version和tomcat支援的不匹配

二.解決辦法:

1.重啟eclipse,關閉時可能會出現卡死的情況,這時在工作管理員中結束任務即可。

2.找到你的eclipse:F:\eclipse\專案名稱\.settings\org.eclipse.wst.common.project.facet.core.xml這個配置檔案,將<installed facet="jst.web" version="3.0"/> 只要將version="3.0"改成version="2.5",然後重啟eclipse即可!!!

或者下載高版本的Tomcat (Tomcat  7.0以上)。

但是有的時候按照上述方法直接修改之後的話, 會報告找不到org.eclipse.wst.common.project.facet.core.xml該檔案錯誤, 所以最穩妥的方法就是在建立該Dynamic web project的時候就選擇低於3.0的版本. 


相關推薦

the selection cannot be run on any server 出現原因解決辦法

一.出現原因:1.當在eclipse中project欄下,點選clean時,有時會導致上述問題2.Dynamic web module version和tomcat支援的不匹配二.解決辦法:1.重啟ec

Uninitialized object exists on backward branch 70 原因解決辦法

本文出自: https://tianshimanbu.com/more/Uninitialized-object-exists-on-backward-branch-70.html 升級Android Stadio 3.1 後的一波三折 前面文章介紹了很多升級Android Sta

關於eclipse出現The selection cannot be launched,and there are no recent launches

語法 選擇 wid 沒有 讀者 AR java語法 not lec 當出現這個問題的時候,應分為兩種情況,第一種為當你要運行的文件無main函數時,第二種為你要運行的類有main函數時 兩種問題總的解決方法就是先配置運行。也可能是程序主函數的問題。 對第一種情況:你找到

Eclipse:The selection cannot be launched,and there are no recent launches

Eclipse:The selection cannot be launched,and there are no recent launches 剛剛裝上eclipse,想寫個Java程式來試試。但是在寫好後不管是點選 run 還是 debug 程式都不能執行,都會彈出一個視窗,內容為

The selection cannot be launched,and there are no recent launches(錯誤)

Eclipse:The selection cannot be launched,and there are no recent launches(意思是該選項不能執行,最近沒有執行的記錄。) 博主剛開始學習java,用Eclipse編寫一個簡單的程式時,點選

Httpservlet cannot be resolved to a type的原因解決方法~

Httpservlet cannot be resolved to a type,顯然是Eclipse找不到相應的包,即javax.servlet。 分析原因:JDK裡不包括servlet-api.jar 這個包,此包在Tomcat 中存在 ,如下圖所示: 在自己電腦

無法顯示登入網頁(Internet Explorer cannot display the webpage)--原因解決辦法

當IE無法通過HTTP訪問web伺服器的時候,IE就會報“無法顯示該網頁的錯誤資訊”。 有可能是兩個方面的原因導致連線失敗: 我重點想從輸入URL到頁面載入完成整個過程的技術框架上來探索“無法顯示該網頁”的原因。 URL主要是包括:協議,網路地址,資源路徑。網路地址表

Httpservlet cannot be resolved to a type的原因解決方法

      剛開始學習Servlet,在Eclipse中新建了一個Servlet,不過頁面上報錯:       Httpservlet cannot be resolved to a type,顯然是Eclipse找不到相應的包,即javax.servlet。 原因:  

slave have equal MySQL Server UUIDs原因解決

with tid host bsp this must .com written 描述 最近在部署MySQL主從復制架構的時候,碰到了"Last_IO_Error: Fatal error: The slave I/O thread stops because master

cannot insert multiple commands into a prepared statement問題原因解決辦法

問題是這樣,我在對資料庫進行寫操作(新增、刪除、修改)時,我想同時刪除兩個表中的兩條關聯資料,像這樣 let sql = ` DELETE FROM bridge_parts WHERE id = $1; DELETE FROM bridge_quantity WHERE bridge_part_id =

SQL Server死鎖產生原因解決辦法

其實所有的死鎖最深層的原因就是一個:資源競爭 表現一:   一個使用者A 訪問表A(鎖住了表A),然後又訪問表B,另一個使用者B 訪問表B(鎖住了表B),然後企圖訪問表A,這時使用者A由於使用者B已經鎖住表B,它必須等待使用者B釋放表B,才能繼續,好了他老人家就只好老老實實

Android使用adb命令時提示提示“CANNOT LINK EXECUTABLE: cannot ...”的原因解決辦法

錯誤提示:使用adb命令時,顯示: CANNOT LINK EXECUTABLE: cannot locate symbol "__umask_chk" referenced by "/system/bin/sh"... 或者 CANNOT LINK EXECUTABLE:

ArcGIS 10.1 for Server 資料註冊失敗的一種可能原因解決辦法

ArcGIS 10.1 for Server是最新的GIS伺服器技術,相比10.0版本,10.1在服務正確性、可靠性、穩定性方面做出了很大改進,其中資料註冊就是確保服務正確可靠的一種有效方式。 所謂資料註冊,就是將服務所引用的資料路徑,註冊到ArcGISServer站點中,確保站點中所有的GIS伺服器均能正

the selection did not contains any resources that can run on a server

隨手幾個servlet學習時遇到的錯誤: web.xml配錯(init-param應該配置在servlet裡面) 導致run as 沒有run on server,報錯the selection did not contains any resources that can run

SpringCloud問題解決:spring-cloud-eureka啟動出錯Cannot execute request on any known server

錯誤 registry gis 出錯 行為 exec conn sport 問題解決 場景:   在啟動eureka server時,出現以下錯誤: com.sun.jersey.api.client.ClientHandlerException: java.net.C

Cannot execute request on any known server

class sha 嘗試 9.png use com execute sun net 1、com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refu

cannot be run because the QueueReader subsystem failed to load

前陣子一資料庫伺服器的事務日誌開始暴增,當時使用下面指令碼檢查發現該資料庫的log_reuse_wait_desc 一直處於REPLICATION狀態, 也就是說在事務複製過程中,與釋出相關的事務仍未傳遞到分發資料庫。剛好前一天有個同事配置了AWS的DMS相關作業。   SELECT name,

spring-cloud中的eureka啟動出錯Cannot execute request on any known server

在使用springCloud中的eureka註冊中心的時候,啟動後報錯: There was a problem with the instance info replicator com.netflix.discovery.shared.transport.Transp

was unable to refresh its cache! status = Cannot execute request on any known server

ERROR [main] c.n.d.s.t.d.RedirectingEurekaHttp Client [RedirectingEurekaHttpClient.java:83] - Request execution error com.sun.jersey.api.c

轉:問題解決:The project cannot be built until build path errors are resolved

run problems call resolv 選擇 ron cal jdk 信息 轉自:http://blog.csdn.net/marty_zhu/article/details/2566299今天在eclipse裏遇到這個問題,之前也遇到過,不過,通過clean一下