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要这么做,需要先把服务容器启动起来,工具栏中选中Run,然后选择Run...,会跳出配置页面

技术分享

 选择Edit Configurations,会弹出配置页

技术分享

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

技术分享

 点击Configure,配置Tomcat的路径

技术分享

 

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

 

文章来自:http://www.cnblogs.com/lvjianwei/p/7753592.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3