javaweb 项目部署到tomcat

1、准备环境

1.安装 mysql

2.安装java 环境

3.使用idea打war包

 

 

 

点击 apply

生成war包

将war包传到tomcat的webapp目录下,进入tomcat安装目录,进入bin,./start.sh 启动 tomcat,

直接访问项目

  

原文地址:https://www.cnblogs.com/huanghuanghui/p/10127655.html