美文网首页IntelliJ IDEA
使用idea自动远程部署web项目

使用idea自动远程部署web项目

作者: 仔仔H | 来源:发表于2019-05-30 16:09 被阅读0次

我的是部署到自己的虚拟机的tomcat上

1、新建web项目并做相关的设置

Snipaste_2019-05-30_15-47-46.png

2、编辑配置参数 Edit Configurations


image.png

3、点击 + 号,选择Tomcat Server -》Remote


image.png

4、点击设置host后面的 “...” ,设置Deployment


image.png

设置Mappings


image.png

5、在你的项目的webapp下新建一个index.html文件,随便写些内容,点击运行


image.png

6、效果


image.png

参考:https://blog.csdn.net/moonshine_1988/article/details/80505141

相关文章

网友评论

    本文标题:使用idea自动远程部署web项目

    本文链接:https://www.haomeiwen.com/subject/slsvtctx.html