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

来源:互联网 发布:日本手办产业数据 编辑:程序博客网 时间:2024/05/22 08:12

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起来,然后愉快的右键选中页面在浏览器中浏览了

参考博客:https://www.cnblogs.com/lvjianwei/p/7753592.html

阅读全文
0 0
原创粉丝点击