现象:There are no resouce that can be added or removed from the server.
原因:其实就是现有的项目的属性不对。
解决办法:right click project-->properties-->project facets-->select "Dynamic web Module" and "Java"