This compilation unit is not on the build path of a Java project 解决办法:大致是因为项目文件缺失
解决方法:
找到项目根目录下的.project文件,修改,加入jdt支持,我的项目修改后如下所示
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>dmp_pj</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.apache.ivyde.eclipse.ivynature</nature>
</natures>
</projectDescription>
分享到:
相关推荐
* Java file which is not on a build path:Java文件,但不在构建路径中。 * class file:类文件。 * file without icon assigned to its type:文件,但没有分配图标。 * unknown object:未知对象。 Object ...
Note that this guide is not a C++ tutorial: we assume that the reader is familiar with the language. Header Files In general, every .cc file should have an associated .h file. There are some common ...
This version is the result of long unactivity of RX Library authors and some imperfections and bugs of other RX adaptations to Delphi 6. The authors of this version disclaim all warranties as to ...
EhLib 6.3 Build 6.3.176 Russian version. Full source included. ------------------------------------------------------------------- The Library contains components and classes for Borland Delphi ...
2.This product is designed for the evaluation of hardware and software. 3.In no event will OBJECT and Matsushita Electric Industrial Co.,Ltd.Semiconductor Company be liable to you for any direct/...
FastReport® VCL is an add-on component that allows your application to generate reports quickly and efficiently. FastReport® provides all the tools necessary for developing reports, including a ...
14)..Added: Support for texts collections out of default path 15)..Added: Support for relative file paths to text collections and external settings 16)..Added: Support for environment variables in ...
- **Compilation Unit(*.java 文件)**:表示一个Java源代码文件,通常包含一个或多个类定义。 - **Class File**:编译后的字节码文件,对应于源代码中的类。 - **File without icon assigned to its type**:...
- **Compilation Unit(*.java 文件)**:表示一个Java源代码文件,是程序的基本单元。 - **Class File**:编译后的Java类文件,通常对应于源代码中的`.java`文件。 - **File Without Icon Assigned**:表示没有...
例如,CompilationUnit(*.java)文件指的是Java源代码文件,而如果Java文件不在构建路径上,则会有不同的图标表示。Class file(类文件)表示编译后的字节码文件。此外,还提到了没有图标分配的对象文件,这些通常是指...