`

Some projects cannot be imported because they already exist in the workspace等导入项

阅读更多

Eclipse导入工程时经常出现这几种问题,每次都是百度下解决,方便以后查找,转载到自己的博客

谢谢有心人的分享  转载 https://blog.csdn.net/luoxia0805/article/details/37969357

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文件的红色叉号会消失,工程的红色叉号也会消失。

分享到:
评论

相关推荐

    Some projects cannot be imported because they already exist in the workspace

    有时候eclipse或者myeclipse导入项目的时候会发生上面两个错误,IDE不允许我们导入。具体原因是在IDE的workspace中已经存在了相同名字的项目,所以不能导入。

    2008年6月大学英语六级A卷真题

    Princeton professor Freeman Dyson thinks it “likely” that life form outer space will be discovered before 2056 because the tools for finding it, such as optical and radio detection and data ...

    JSP Simple Examples

    Unlike interface the abstract class may implement some of the methods defined in the class, but in this class at least one method should be abstract. Using Super class Variables With Sub-classed ...

    Using Imported Graphics In LaTex2e 中文版

    Using Imported Graphics In LaTex2e 中文版, 对大家写文档论文会有帮助

    Android代码-DNSQuery

    This is a free tool provided for the Android mobile platform by Comwired.com to ...Everything should be included to be easily imported into the Eclipse IDE and has been developed to build on

    Python library

    Python3.6标准库 It contains data types that would normally be considered part of the “core” of a language, such as numbers and lists. For these types, the Python language core defines the form of ...

    3DVIA Composer V6R2014

    Imported objects are grouped in an assembly on the basis of which can be formed specification (BOM - Bill of Materials). Developed interactive documents can be stored in a compact executable EXE-...

    TeeChart Pro Activex Control v2018

    They may be used to replace the automatically generated AxInterop.TeeChart.dll and Interop.TeeChart.dll created when TeeChart AX is added to a Windows Form. You should remove auto-generated dlls from ...

    TeeChart2018ActiveX_0_2_9Eval3264

    They may be used to replace the automatically generated AxInterop.TeeChart.dll and Interop.TeeChart.dll created when TeeChart AX is added to a Windows Form. You should remove auto-generated dlls from ...

    ImpREC 1.7c

    - Finally fixed the bug in the check for adding section (Thanks to Christoph) v1.6 beta *PRIVATE* ------------------- - Tracers - Tracer Level3 - Added EIP Log - Misc - Finally, support ...

    EMS Advanced Data Import Component Suite 3.5.0.3 for XE2

    Advanced Data Export 和 Advanced Data Import 这是EMS 公司出品的数据导入、导出控件,几乎可以导入、导出常用的各种数据格式,是数据库转换和备份的必备控件。 14-12-2011 Version 3.50 1. TQImport3XML. ...

    Clever Internet Suite (SRC) v9.1.0.0

    Starting from now, the components can be used by RAD Studio form designer in 64-bit projects. The basic socket components were replaced and improved. The class inheritance was changed. Please see the...

    ExactAudioCopy_1.0_Beta1_XiaZaiBa.exe

    + Cover support, can be drag’n'dropped from a file, a web page oder can be retrieved via a metadata plugin (support included in the freedb plugin). Cover can be written into tags or in the extraction...

    Microsoft Remote Desktop for Mac Version 10.2.2 (1268)

    RDP files pointing to RemoteApp endpoints can now be imported into the Connection Center. The Connection Center now remembers the last active pivot (Desktops or Feeds) when closing the app. Retina ...

    delphi反编译工具 Decompiler v1.1.0.194

    commented ASM code with references to strings, imported function calls, classes methods calls, components in the unit, Try-Except and Try-Finally blocks. Note, this is a rewrite of the original DeDe....

    解决any change made in its configuration may be lost after reimport

    在idea中module setting的对language的设置,在maven重新reimport或者reload之后都会丢失,根本办法是更改pom文件中的build部分,source和target org.apache.maven.plugins maven-compiler-plugin ...

    Building Web Applications with Flask(PACKT,2015)

    Once imported into Python, Flask can be used to save time building web applications. It goes against the flow with the microframework concept, leaving most of the architecture choices to the ...

    Unity.in.Action.Multiplatform.Game.Development.in.Csharp

    Defining animation clips in the imported model 160 Creating the animator controller for these animations 162 Writing code that operates the animator 165 7.5 Summary 166 PART 3 8.4 Inventory UI for ...

    解决pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\\python3.6\\lib\\site-packa的问题

    标题用pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\python3.6\lib\site-packages\numpy\init.py 1.file→settings→project interpreter→+(建议用pychon3.6版本,我...

Global site tag (gtag.js) - Google Analytics