1、菜单栏点击File,然后选择Project Structure,或者快捷键Ctrl + Alt + Shift + S
2、点击Artifacts,点击加号
3、选择Web Application: Archive下的Empty
4、创建打包的名字,选择要打包的路径
5、添加打包所需的东西
6、点击ok,菜单栏点击Build选择Build Artifacts
7、选择你要刚才命名的包点击Build就可以了
end:打包好的war包在刚才的目录中
1、菜单栏点击File,然后选择Project Structure,或者快捷键Ctrl + Alt + Shift + S
2、点击Artifacts,点击加号
3、选择Web Application: Archive下的Empty
4、创建打包的名字,选择要打包的路径
5、添加打包所需的东西
6、点击ok,菜单栏点击Build选择Build Artifacts
7、选择你要刚才命名的包点击Build就可以了
end:打包好的war包在刚才的目录中