第一步: window->preferences:Server->Runtime Environments窗口,add. 第二步: window->preferences:Project Facets窗口,Dynamic Web Module勾上。 第三步: window->preferences:Deployment Assembly,删除旧的WebContent目录,新增一个项目的Web输出目录。 第4步: 右击项目,Debug as on Server。 相关文章: 2021-10-19 2021-07-17 2021-12-03 2022-01-02 2021-11-18 2021-06-04 2021-11-19