`

This compilation unit is not on the build path of a Java project 解决办法​

 
阅读更多

 

搜索发现,大致是因为项目文件缺失。

解决办法:找到项目根目录下的.project文件,修改,加入jdt支持,我的项目修改后如下所示↓

 

[xml] view plaincopy
 
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <projectDescription>  
  3.     <name>V4</name>  
  4.     <comment></comment>  
  5.     <projects>  
  6.     </projects>  
  7.     <buildSpec>  
  8.         <buildCommand>  
  9.             <name>org.eclipse.jdt.core.javabuilder</name>  
  10.             <arguments>  
  11.             </arguments>  
  12.         </buildCommand>  
  13.     </buildSpec>  
  14.     <natures>  
  15.         <nature>org.eclipse.jdt.core.javanature</nature>  
  16.         <nature>org.apache.ivyde.eclipse.ivynature</nature>  
  17.     </natures>  
  18. </projectDescription>  
分享到:
评论

相关推荐

    Google C++ Style Guide(Google C++编程规范)高清PDF

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

    PowerCommands for Visual Studio 2008

    PowerCommands 1.1 is a set of useful extensions for the Visual Studio 2008 adding additional functionality to various areas of the IDE. The source code is included and requires the VS SDK for VS 2008 ...

    现代编译原理-Java语言描述

    A unique feature of the book is a well designed compiler implementation project in Java, including front-end and 'high-tech' back-end phases, so that students can build a complete working compiler in...

    微软内部资料-SQL性能优化5

    There is also a column for the first page of the table, but this is not guaranteed to be reliable. SQL Server can find all pages belonging to an index or table by examining the IAM pages. Sysindexes...

    Universal-USB-Installer

    Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative...

    WizFlow网页编辑

    GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 ... 51 Franklin Street, ...Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; ...

    hibernate-shards.jar

    Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative...

    MiViBES_v1.60_VideoPlayer

    This piece of software is part of a research project called AMUSE 2.0 at the Telecommunications Research Center Vienna (ftw.) For this OpenSource release many parts are disabled, mainly interaction ...

    issrc-5.3.3.zip_The Front_delphi inno setup

    Non Unicode Inno Setup note: This is the only project that I compile under Delphi 3 (3.02 to be exact). The rest of the projects are compiled under Delphi 2.01. ISCC.dpr - This is the command-line ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    connector's end point moving, the link is breaks if the move was not on one of the flex-controls connection points. Contain False as default. - ADD Added ControlDocRect parameter in event ...

    sbt in Action(Manning,2015)

    A tutorial about effectively building Scala projects, sbt in Action introduces the sbt tool with a simple project that establishes the fundamentals of running commands and tasks. Next, it shows you ...

    Groovy in Action 2nd Edition-Manning(2016)

    Thinking back to January 2007 when the first edition of this book hit the shelves, feels like time travel to the Middle Ages. The idea of using a programming language other than Java on the Java ...

    Fault insertion testing of a novel CPLD-based fail-safe system.pdf

    This file is available after the compilation of a VHDL-description, which was modified using saboteurs or mutants. This allows injecting a fault into this CPLD. The other CPLD is configured as fault...

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

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

    Java: High-Performance Apps with Java 9

    Java: High-Performance Apps with Java 9: Boost your application’s performance with the new features of Java 9 By 作者: Mayur Ramgir – Nick Samoylov ISBN-10 书号: 1789130514 ISBN-13 书号: ...

    acpi控制笔记本风扇转速

    the Switch() operator is within a while loop, causing an error on the second iteration. (BZ 460) Disassembler - fix for error emitted for unknown type for target of scope operator. Now, ignore it and...

    maven definitive guide

    A build tool such as Ant is solely focused on preprocessing, compilation, packaging, testing, and distribution. A project management tool such as Maven provides a superset of features found in a ...

    vuex 解决报错this.$store.commit is not a function的方法

    主要介绍了vuex 解决报错this.$store.commit is not a function的方法,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧

    EhLib 6.3 Build 6.3.176 Russian version. Full source included.

    This component is intended for totaling sums and amounts of records in a TDataSet with dynamic changes. Component keeps a list of TDBSum objects, which contains types of group operations (goSum or ...

    The VLSI Handbook, Second Edition.pdf

    The compilation of this book would not have been possible without the dedication and efforts of the section editors, the publishers, and most of all the contributing authors. I wish to thank all of ...

Global site tag (gtag.js) - Google Analytics