IntelliJ idea新手小白入门-运行项目,打war包

本文适合从来没有使用过idea工具的人使用!

数据库mysql

开发工具:Idea(配置jdk、tomcat、maven)

一、运行项目

1、Open代码

2、配置

  • 打开配置

IntelliJ idea新手小白入门-运行项目,打war包

  • 选择本机tomcat路径,确定

IntelliJ idea新手小白入门-运行项目,打war包

  • 另外一个配置,据开发说这样比较常用,否则有时候会有问题;

IntelliJ idea新手小白入门-运行项目,打war包

IntelliJ idea新手小白入门-运行项目,打war包

 

3.Run

IntelliJ idea新手小白入门-运行项目,打war包

 

二、打包

1、配置

  • 打开配置

IntelliJ idea新手小白入门-运行项目,打war包

  • 进行配置,点击确定

IntelliJ idea新手小白入门-运行项目,打war包

2、Run

IntelliJ idea新手小白入门-运行项目,打war包