需要保证Tomcat中JRE运行环境和项目属性中facet中java版本一致

window--->Server--->Runtime Environment--->选择相应Tomcat选择编辑:

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

右击项目属性--->搜索facet:

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


相关文章: