代码改变世界

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

2017-03-17 09:11  xiangjune  阅读(8249)  评论(0编辑  收藏  举报

1、直接打开在eclipse中选中该不能导入项目,右键打开项目属性,在项目属性里选择项目

      类型为Dynamic Web
Project即可发布。

 

2、eclipse导入一个项目后,不能加载到tomcat里面,出现“There
are no resources that can be added or removed from the server.” 
解决方法: 
第1步、找相同类型的工程(tomcat能引用的)
第2步、把新建项目里面的.project文件和.settings文件夹复制到导入的那个项目里面。

 

3、eclipse导入一个项目后,不能加载到tomcat里面,出现“There are no resources that can be added or removed from the server.” 

解决方法: 
新建一个“Dynamic Web Project” 
把新建项目里面的.project文件和.settings文件夹复制到导入的那个项目里面。