There are no resources that can be added or removed from the server

选中项目右键——找到Project Facets——勾选Dynamic Web Project和java等就可以了

原文地址:https://www.cnblogs.com/zxjyuan/p/3243237.html