进入tomcat官网,选择所需要的版本,在这里选择免安装版的tomcat免安装部署tomcat免安装部署
解压后进行配置
此电脑—右键属性—高级系统设置—环境变量
tomcat免安装部署
在系统变量中新增环境变量CATALINA_HOME=E:\software\apache-tomcat-9.0.36
tomcat免安装部署
在path中添加这个变量(切记不要少分号)
tomcat免安装部署
windows+R 执行startup,tomcat启动成功,然后再浏览器中输入localhost:8080就可以访问到了
tomcat免安装部署
tomcat免安装部署
这样就配置成功。
遇到的问题:
配置完成后执行startup报错,
“Neither the JAVA_HOME nor the JRE_HOME environment variable is defined”
这种情况下把bin目录下的setclasspath中设置一下jdk路径,这样就可以了
tomcat免安装部署

相关文章:

  • 2021-10-06
  • 2021-09-27
  • 2021-07-27
  • 2022-02-21
  • 2021-11-30
  • 2021-10-14
  • 2021-08-03
  • 2021-12-14
猜你喜欢
  • 2021-06-28
  • 2021-11-18
  • 2019-10-01
  • 2022-12-23
  • 2021-04-18
相关资源
相似解决方案