There are no resources that can be added or removed from the server 选中项目右键——找到Project Facets——勾选Dynamic Web Project和java等就可以了