首页 > Web开发 > 详细

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

时间:2017-10-30 13:50:06      阅读:2328      评论:0      收藏:0      [点我收藏+]

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

技术分享

 

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

技术分享

 选择Edit Configurations,会弹出配置页

技术分享

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

技术分享

 点击Configure,配置Tomcat的路径

技术分享

 

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

 

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

原文:http://www.cnblogs.com/lvjianwei/p/7753592.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!