There is no configured/running web-servers found!解决记录

之前写过的项目现在准备看看,却发现报了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!解决记录

注意熬,这个错有可能是你压根没有启动tomcat造成的,如果你启动之后,也报了同样的错误,然后半天也找不到问题,就按照我的方法来试一试吧!

此方法对于新创建一个项目也适用,以下是具体步骤

1.左上角,打开Edit Configuration

There is no configured/running web-servers found!解决记录

2.直接点减号,移出当前部署

There is no configured/running web-servers found!解决记录

3.再点击加号,选择Tomcat Server中的local(注意:不是TomEE Serve,别点错了)

There is no configured/running web-servers found!解决记录

4.打开之后点击Deployment,继续点击加号,选择Artifacts选项

There is no configured/running web-servers found!解决记录

5.选择你需要部署的项目,点击ok

There is no configured/running web-servers found!解决记录

6.继续点ok

There is no configured/running web-servers found!解决记录

这样就ok了,去试试启动tomcat,看看你的项目可以正常访问了吗,如果还是不行,不好意思我也不会了。