There is no configured/running web-servers found! Please, run any web-configuration and hit the Refresh button!問題解決


There is no configured/running web-servers found! Please, run any web-configuration and hit the Refresh button!問題解決

 

  當我們在做web項目時,經常會點擊右上角的瀏覽器來看一下頁面的顯示效果。然而,html文件是可以直接點擊瀏覽,不會出現問題;但是jsp頁面則不行,會出現如下錯誤:There is no configured/running web-servers found! Please, run any web-configuration and hit the Refresh button!

 

解決方法1:

 點擊Run  -->  Edit Configurations...

 

 

Templates--> Tomcat Server--> Local,然后點擊Configure選擇本地安裝了的Tomcat路徑

 

 

記得點擊Apply

 

再次進入Edit Configurations,點擊+號,表示配置當前項目的運行按鈕,選擇Tomcat Server --> Local

 

 

 

 

 

 

 將項目部署到Tomcat中

 

 

 

 

 

 

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM