`

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)时,可能会遇到“Some projects cannot be imported because they already exist in the workspace”的问题。这个错误提示表明,你试图导入的项目与当前工作空间...

    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 中文版

    ### 使用导入图形在LaTeX2ε中的中文版详解 #### 概述 LaTeX作为一款强大的文档排版系统,在学术界、技术文档编写等领域有着广泛的应用。随着版本的发展,LaTeX2ε(即LaTeX2e)成为了主流版本,并且支持了更多的...

    ST FOC电机控制开发包X-CUBE-MCSDK-FULL 6.1.0

    A new tool called Board Manager is provided to add ability to configure easily a Board description that can be then imported by the Workbench. The ST Motor Profiler tool is removed from the X-CUBE-...

    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 ...

    CST Data imported for Loss cal in MATLAB_matlablossy_cst_cstmatl

    标题"CST Data imported for Loss cal in MATLAB_matlablossy_cst_cstmatl"表明这是一个使用MATLAB进行损耗计算的项目,其中可能涉及到CST(Computer Simulation Technology)的数据导入。CST通常用于电磁场的仿真,...

    INTRODUCTION TO PYTHON SCRIPTING FOR MAYA ARTISTS.

    Tuples are similar to lists but are immutable, meaning they cannot be modified after creation. **Dictionaries** Dictionaries are unordered collections of key-value pairs. They are used for mapping ...

    Using Imported Graphics in LaTeX2e

    Keith Reckdahl的文章《Using Imported Graphics in LaTeX2e》介绍了如何在LaTeX2e中处理图形,包括并排显示、旋转等高级功能。本文将详细介绍该文章的关键知识点。 #### LaTeX2e字体选择机制 LaTeX2e相比之前的...

    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-...

    Imported Order_java_TheReal_productiona66_

    综上所述,"Imported Order_java_TheReal_productiona66_"的项目涉及了Java编程、并发处理、数据库操作、API设计、异常处理、日志记录、测试以及性能优化等多个IT领域的关键知识点。在实际开发过程中,需要根据具体...

    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 ...

    课程设计最终版matlab在单摆中的应用.doc

    Firstly, the data collected from the pendulum experiment, such as the angle of oscillation and corresponding time intervals, can be imported into MATLAB using built-in functions. Once the data is ...

    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...

    spring dm in action sample chapter6

    For example, when using JPA with OSGi, developers need to set up the persistence unit in a way that it can be dynamically managed by the OSGi framework. #### Creating OSGi Bundles from Existing Java...

Global site tag (gtag.js) - Google Analytics