打包后文件中不包含index.html与web.xml文件,为什么?

在 project structure/modules 右侧添加 一个类型 web 指定 webapp 目录。

原因是你没把 webapp 设定为 web目录

posted @ 2020-06-04 18:11  技术研究与问题解决  阅读(288)  评论(0编辑  收藏  举报