IDEA现在比较流行,最近正从eclipse转IDEA
发现:
1、Project:类似于eclipse的workspace概念
2、Module:类似于eclipse的工程项目概念

言归正传,解决方案

File->Project Structure->Modules右键你的项目点add->web
Modules下面找到Artifacts点加号->Web开头Exploded结尾的那个->From Modules选择自己的项目,最终结果:
IDEA There is no configured/running web-servers found的那个坑
打开菜单Run -> 选择Edit Configuration
点击“+”号 -> 选择“Tomcat Server” -> 选择“Local”
在"Name"处输入新的服务名,点击"Application server"后面的"Configure…",弹出Tomcat Server窗口,选择本地安装的Tomcat目录 -> OK
IDEA There is no configured/running web-servers found的那个坑
Run -> Edit Configurations,进入"Run/Debug Configurations"窗口 -> 选择刚刚建立的Tomcat容器 -> 选择Deployment -> 点击右边的“+”号 -> 选择Artifact->选择web项目 -> Application context(其实也可以不填的)
点击锤子然后启动服务最后选个浏览器结束

相关文章:

  • 2021-08-17
  • 2022-12-23
  • 2021-04-18
  • 2021-11-29
  • 2021-09-13
猜你喜欢
  • 2021-07-29
  • 2021-08-03
  • 2021-10-24
  • 2022-01-17
  • 2021-07-06
  • 2022-12-23
  • 2021-04-06
相关资源
相似解决方案