This compilation unit is not on the build path of java project 错误
2015-04-13 14:34
597 查看
今天从SVN上面检出了一个项目,在写代码的时候在输入 . 后就报 This compilation unit is not on the build path of java project 错误。
平常的项目 在输入 . 之后都会有相应的代码提示唯独这个就没有。。感觉很是纠结,于是在网上找了很多资料。总算解决了。 首先打开自己项目的 .project 文件 ,如果在myeclipse里面找不到这个文件可以 ,ctrl+shift+R一起按,在弹出的框里面直接输入这个文件名字。。。
打开文件以后输入一下代码 ,保存以后项目就有自动提示代码了。。。。
注意替换自己的项目名称。。。
平常的项目 在输入 . 之后都会有相应的代码提示唯独这个就没有。。感觉很是纠结,于是在网上找了很多资料。总算解决了。 首先打开自己项目的 .project 文件 ,如果在myeclipse里面找不到这个文件可以 ,ctrl+shift+R一起按,在弹出的框里面直接输入这个文件名字。。。
打开文件以后输入一下代码 ,保存以后项目就有自动提示代码了。。。。
<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>yourProjectName</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>
注意替换自己的项目名称。。。
相关文章推荐
- Eclipse报错:this compilation unit is not on the build path of a java project
- this compilation unit is not on the build path of a java project
- this compilation unit is not on the build path of a java project
- Eclipse “this compilation unit is not on the build path of a java project”
- eclipse中设置.abc--xyz触发提示输入时,提示This compilation unit is not on the build path of java project 异常如何解决?
- Eclipse this compilation is not on the build path of a java project
- this compilation unit is not on the build of a java project
- the resource is not on the build path of a java project错误
- the resource is not on the build path of a java project错误
- This compilation unit is not on the build path
- the resource is not on the build path of a java project
- The resource is not on the build path of a java project解决方法
- 【问题记录系列】the resource is not on the build path of a java project
- 【eclipse】eclipse报错:the resource is not on the build path of a java project
- eclipse中的the resource is not on the build path of a java project相关问题
- 导入android工程后出现The resource is not on the build path of a java project
- 在myeclipse中提示 The resource is not on the build path of a Java project
- This compilation unit is not on the build path SVN
- eclipse中的the resource is not on the build path of a java project相关问题
- the resource is not on the build path of a java project的一种情况