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中

 

 

 

 

 

 

 

 

 

 

 
posted @   临易  阅读(1133)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· PowerShell开发游戏 · 打蜜蜂
· 在鹅厂做java开发是什么体验
· 百万级群聊的设计实践
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性
点击右上角即可分享
微信分享提示