其他分享
首页 > 其他分享> > There is no configured/running web-servers found! Please, run any web-configuration and hit the Refr

There is no configured/running web-servers found! Please, run any web-configuration and hit the Refr

作者:互联网

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中

 

 

 

 

 

 

 

 

 

 

 

标签:web,run,Tomcat,--,configured,There,点击,hit
来源: https://www.cnblogs.com/lysboke/p/16150919.html