解决办法:安装 Eclipse Java EE Developer Tools 和 Eclipse Java Web Developer Tools
https://blog.csdn.net/zhangfeng1742/article/details/80755409