Some projects cannot be imported because they already exist in the workspace等导入项及部署目的三个错误解决方案
2014-07-19 22:25
555 查看
1. Some projects cannot be imported because they already exist in the workspace错误解决方案
这个错误发生在你之前往工作空间新建/导入过此工程,但是后来删除了【注意:删除时你没有勾选“Delete project contents on disk(cannot
be undone)”,所以即使删除了在MyEclipse里的工程,该工程依然在你的硬盘上】
解决办法:
导入文件进MyEclipse空间步骤:左侧工作空间---右击---Import命令---General---Existing Projects into Workspace弹出如下对话框:
选中硬盘上你要导入工程的路径,然后必须是保证工程是“Copy projects into workspace”【复制一份到你的工作空间】,最后点击Refresh-------------ok,你就可以导入了,不会发生“Some projects cannot be imported because they already exist in the workspace”错误
2. 项目导入后,一般会因为缺少相关jar包而在工程文件上出现红色叹号,这时你右击导入的工程文件---Build Path---Configure Build Path【配置你缺少的jar包】,如下图:
Libraries下面的方框会出现你缺少的jar包【缺少的jar包上有红色叉】,你按照出现的名字从本地或从网上找到/下载好了,单击Add External JARs命令进行添加,然后把打红色叉的缺少的jar包的信息单击Remove命令删除就OK了。
项目导入成功,又配置好了项目jar包,接下来你就可以启动应用服务器和部署项目工作了。
3.有时在导入的工程中,在相关js文件上会有红色叉号导致工程上也出现红色叉号
如下图:
由于js文件检测认证而导致的错误:
只需在相应js文件右击---MyEclipse命令---单击 Exclude from Validation使它从选中状态变成不选中状态---单击Run Validation进行验证---再次单击Exclude
from Validation变成选中状态,这样该js文件的红色叉号会消失,工程的红色叉号也会消失。
这个错误发生在你之前往工作空间新建/导入过此工程,但是后来删除了【注意:删除时你没有勾选“Delete project contents on disk(cannot
be undone)”,所以即使删除了在MyEclipse里的工程,该工程依然在你的硬盘上】
解决办法:
导入文件进MyEclipse空间步骤:左侧工作空间---右击---Import命令---General---Existing Projects into Workspace弹出如下对话框:
选中硬盘上你要导入工程的路径,然后必须是保证工程是“Copy projects into workspace”【复制一份到你的工作空间】,最后点击Refresh-------------ok,你就可以导入了,不会发生“Some projects cannot be imported because they already exist in the workspace”错误
2. 项目导入后,一般会因为缺少相关jar包而在工程文件上出现红色叹号,这时你右击导入的工程文件---Build Path---Configure Build Path【配置你缺少的jar包】,如下图:
Libraries下面的方框会出现你缺少的jar包【缺少的jar包上有红色叉】,你按照出现的名字从本地或从网上找到/下载好了,单击Add External JARs命令进行添加,然后把打红色叉的缺少的jar包的信息单击Remove命令删除就OK了。
项目导入成功,又配置好了项目jar包,接下来你就可以启动应用服务器和部署项目工作了。
3.有时在导入的工程中,在相关js文件上会有红色叉号导致工程上也出现红色叉号
如下图:
由于js文件检测认证而导致的错误:
只需在相应js文件右击---MyEclipse命令---单击 Exclude from Validation使它从选中状态变成不选中状态---单击Run Validation进行验证---再次单击Exclude
from Validation变成选中状态,这样该js文件的红色叉号会消失,工程的红色叉号也会消失。
相关文章推荐
- 解决Eclipse导入项目是提示错误:Some projects cannot be imported because they already exist in the workspace
- 错误解决:Some projects cannot be imported because they already exist in the workspace
- 解决Eclipse导入项目是提示错误:Some projects cannot be imported because they already exist in the workspace
- 解决Eclipse导入项目是提示错误:Some projects cannot be imported because they already exist in the workspace
- 解决错误 Some projects cannot be imported because they already exist in the workspace
- 解决Eclipse导入项目是提示错误:Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace 解决方案
- 解决错误 Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- Eclipse(CCES)bug “Some projects cannot be imported because they already exist in the workspace”
- eclipse里面用import的时候提示Some projects cannot be imported because they already exist in the workspace.
- 安卓问题报告小记(四):Some projects cannot be imported because they already exist in the workspace
- 【原创】Some projects cannot be imported because they already exist in the workspace
- Android开发问题 - Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- eclipse 中添加工程 Some projects cannot be imported because they already exist in the workspace
- MyEclipse 中添加工程显示Some projects cannot be imported because they already exist in the workspace
- Myeclipse导入项目报错:Some projects cannot be imported because they already exist in the workspace
- eclipse 中添加工程 Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace