需要点击File—>New—>Other…在Web文件夹下找到Dynamic Web Project—>Next 修改server端口可以在 启动项目后访问地址是端口号+项目名 转载于:https://juejin.im/post/5cb4999df265da037b610545