【eclipse】eclipse导入Dynamic Web Project项目

1、确定待导入的项目路径(尽量不要包含中文字符),若为压缩文件,先解压至workspace

2、打开eclipse,Project Explorer 标签下右键菜单选择Properties

3、弹出对话框选择右侧选择project facets



4、项目已经导入

问题解决:

问题描述:运行导入项目时控制台报错:

Error starting static Resources
java.lang.IllegalArgumentException: Document base E:\Project\ArchivesNew0530\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\poi does not exist or is not a readable directory

解决方式参考:

http://tdcq.iteye.com/blog/367516

http://blog.csdn.net/sweblish/article/details/6686046#comments


该问题是WEB项目作了不恰当的重命名相关文件夹,或则误删除某些目录又重新创建后导致eclipse无法在使用热部署时候自动同步相关配置。


猜你喜欢

转载自xuexin25.iteye.com/blog/1765301