`

the resource is not on the build path of a java project的一种情况

阅读更多

转:http://lihaozy.blog.51cto.com/1112871/291386

在eclipse中,我新建了一个project,然后import了一个工程,但是在对某一个类进行F3操作的时候导致了以下提示“the resource is not on the build path of a java project”。
 
解决办法:新建一个java project的时候,选择create project from existing resource,就好了。不要新建一个空java project然后往里import文件,会出问题。
分享到:
评论

相关推荐

    解决The project cannot be built until build path

    解决 Eclipse 中“项目无法构建直到build path”问题 Eclipse 是一个功能强大且流行的集成开发环境(IDE),广泛应用于 Java Web 开发中。但是在使用 Eclipse 进行项目开发时,经常会遇到“项目无法构建直到build ...

    Xcode_Build_Setting_Reference

    It is used to separate the output of different targets within a project. ##### TARGET_TEMP_DIR This setting determines the directory for temporary files generated for the target. Temporary files can...

    PythonRobotics a Python code collection of robotics algorithms.pdf

    PythonRobotics is not just a collection of algorithms but also serves as an educational resource. It provides a hands-on approach to learning about autonomous navigation technologies. By offering well...

    Java - The Well-Grounded Java Developer

    The book "Java - The Well-Grounded Java Developer" provides a comprehensive guide to developing with Java 7 and exploring the world of polyglot programming on the JVM. It covers essential topics ...

    apktool documentation

    unknown = Files / folders that are not part of the standard AOSP build procedure. These files will be injected back into the rebuilt APK. apktool.yml collects more information than last version ...

    ICS delphixe10源码版

    ICS V8 is the current development release which is held in a public Version Control repository that is zipped each night for easy download. The download page above also includes the OpenSSL binaries ...

    RxLib控件包内含RxGIF,全部源码及DEMO

    TRxMemoryData is a in-memory dataset that mimics the behaviors of a regular Delphi dataset. Unlike TMemoryTable component, TRxMemoryData is BDE independent. This means it can still be used by any ...

    ebook-flutter-revolution.pdf

    course offers a comprehensive guide to getting started with Flutter, covering everything from the basics of the framework and the Dart programming language to setting up development environments on ...

    EhLib 9.1.024

    To install a new version of the library in the IDE, use the installation program .\Installer\EhLibInstaller.exe If, at the installation have any problems, write a letter to ehlib support address ...

    ehlib_vcl_src_9_3.26

    To install a new version of the library in the IDE, use the installation program .\Installer\EhLibInstaller.exe If, at the installation have any problems, write a letter to ehlib support address ...

    HTML5.and.CSS3.Building.Responsive.Websites.pdf

    Packed with examples and a thorough explanation of modern techniques and syntax, the second module provides a comprehensive resource for all things “responsive.” You'll explore the most up-to-date ...

    Delphi7.1 Update

    * When using RefreshRecord on a Memo or Blobfield and the field has been modified by another user, the blobsize of that field does not change if it is less than before (Quality Central 4676).* ...

    Professional.MFC.with.VC6

    Easing the Build Process Using Dynamic-link Libraries with C++ Name Mangling Alternative Calling Conventions Using and Writing DLLs with MFC MFC DLL Models Summary of DLL Models About DLLApp ...

    Clever Internet Suite (SRC) v9.1.0.0

    With SMTP relay, a mail message may pass through a number of intermediate relay or gateway hosts on its path from sender to recipient. HTML Parser - parse HTML Tags: links, images, tables, meta tags ...

    m6a—insight

    CMake Error: The current CMakeCache.txt directory C:/DC105_Dupli.SearchResults/build/CMakeCache.txt is different than the directory c:/D/DC105_xxxx/trunk/build where CMakeCache.txt was created....

    java eclipse 出现 xxx cannot be resolved to a type 错误解决方法

    Java Eclipse 是一个功能强大且广泛使用的集成开发环境(IDE),但是在使用过程中可能会出现各种错误信息,例如 "xxx cannot be resolved to a type" 错误。这种错误信息可能会导致项目无法正常编译和运行,影响开发...

    Delphi-OpenCV

    Add the search path for the modules of the project in Delphi IDE (Tools-Options-Delphi Options-Library-Library path) <PROJECT_ROOT>\source <PROJECT_ROOT>\source\utils <PROJECT_ROOT>\source\component ...

    spring-boot-reference.pdf

    10.1. Installation Instructions for the Java Developer 10.1.1. Maven Installation 10.1.2. Gradle Installation 10.2. Installing the Spring Boot CLI 10.2.1. Manual Installation 10.2.2. Installation with...

    java 知识整理笔记

    3. 通过右键项目 -> Build Path -> Configure Build Path...,调整源代码路径,确保Java文件存放在正确的位置。 4. 删除默认的配置,添加实际的Java源代码文件夹。 5. 删除项目中的bin目录,以及WebRoot下的WEB-INF/...

Global site tag (gtag.js) - Google Analytics