Idea web项目运行报错 IDEA There is no configured/running web-servers found! Please, run any web-configura

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

初次使用使用IDEA搭建web application,习惯性的右键jsp页面在选择浏览器浏览,以为会想VS一样自动启动,结果提示

Idea web项目运行报错 IDEA There is no configured/running web-servers found! Please, run any web-configura_第1张图片

原来IDEA要这么做,需要先把服务容器启动起来,工具栏中选中Run,然后选择Run...,会跳出配置页面

Idea web项目运行报错 IDEA There is no configured/running web-servers found! Please, run any web-configura_第2张图片

 选择Edit Configurations,会弹出配置页

Idea web项目运行报错 IDEA There is no configured/running web-servers found! Please, run any web-configura_第3张图片

 左侧在Default中,有很多服务配置可以选,这里选择Tomcat Server.Local

Idea web项目运行报错 IDEA There is no configured/running web-servers found! Please, run any web-configura_第4张图片

 点击Configure,配置Tomcat的路径

Idea web项目运行报错 IDEA There is no configured/running web-servers found! Please, run any web-configura_第5张图片

 

做完这些就可以让项目Running起来,然后愉快的右键选中页面在浏览器中浏览了。

你可能感兴趣的:(Idea web项目运行报错 IDEA There is no configured/running web-servers found! Please, run any web-configura)