欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-07-15 15:54:08
...

IDEA 提示“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 Refr
原来IDEA要这么做,需要先把服务容器启动起来,工具栏中选中Run,然后选择Run…,会跳出配置页面
There is no configured/running web-servers found! Please, run any web-configuration and hit the Refr
选择Edit Configurations,会弹出配置页

There is no configured/running web-servers found! Please, run any web-configuration and hit the Refr
左侧在Default中,有很多服务配置可以选,这里选择Tomcat Server.Local
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
点击Configure,配置Tomcat的路径
There is no configured/running web-servers found! Please, run any web-configuration and hit the Refr

如还不可以试试另一个解决方案:
1、问题:
IDEA 提示“There is no configured/running web-servers found! Please, run any web-configuration and hit the Refresh button ”错误。

   2、解决办法:
     将IDEA配置的tomcat配置 的 “library”项增加 tomcat 的 lib 目录,再重启即可:

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

做完这些就可以让项目Run起来,然后点击右键选中页面在浏览器中浏览了。

相关标签: idea tomcat