首先,上官网下载tomcat

http://tomcat.apache.org/

找到相应版本下载并解压,此处我选择win64系统下的
安装tomcat配置并运行spring MVC项目
解压完成后,配置环境变量,注意要已经配置过JAVA_HOME
安装tomcat配置并运行spring MVC项目
点击bin目录下的start.bat
安装tomcat配置并运行spring MVC项目
此时运行 localhost:8080,就能看见,代表配置成功
安装tomcat配置并运行spring MVC项目
此时进入idea,在项目中添加tomcat配置,并选择war包
安装tomcat配置并运行spring MVC项目
安装tomcat配置并运行spring MVC项目
点击运行,大功告成
安装tomcat配置并运行spring MVC项目

相关文章:

  • 2022-01-09
  • 2021-04-18
  • 2021-04-29
  • 2021-12-26
  • 2021-07-27
  • 2021-09-17
  • 2021-09-20
猜你喜欢
  • 2021-05-07
  • 2021-06-28
  • 2021-08-14
  • 2021-04-03
  • 2021-06-16
  • 2021-11-10
  • 2021-11-13
相关资源
相似解决方案