GVKun编程网logo

the resource is not on the build path of a java project 错误(the resource is not on the include)

9

本文将分享theresourceisnotonthebuildpathofajavaproject错误的详细内容,并且还将对theresourceisnotontheinclude进行详尽解释,此外,

本文将分享the resource is not on the build path of a java project 错误的详细内容,并且还将对the resource is not on the include进行详尽解释,此外,我们还将为大家带来关于A class file was not written. The project may be inconsistent, if so try refreshing this project and、A cycle was detected in the build path of project、A cycle was detected in the build path of project Build path Build Path Problem(Eclipse)、CocoaPods did not set the base configuration of your project because your project already has a c...的相关知识,希望对你有所帮助。

本文目录一览:

the resource is not on the build path of a java project 错误(the resource is not on the include)

the resource is not on the build path of a java project 错误(the resource is not on the include)

在 eclipse 中,使用 mavenimport 了一个工程,但是在对某一个类进行 F3/F4/ctrl+alt+H 操作的时候报错:“the resource is not on the build path of a java project”。

这种情况也常常发生在重新打开 eclipse 时。

原因:在该工程的构建路径中找不到该类。

解决方法:

 1. 找到 buildpath 下面的 src 下的文件 remove 掉,然后重新加上去,此时会更新所有目录。

  2. 关闭该类,重新打开即可

A class file was not written. The project may be inconsistent, if so try refreshing this project and

A class file was not written. The project may be inconsistent, if so try refreshing this project and

今天遇到一个编译问题:

A class file was not written. The project may be inconsistent,if so try refreshing this project and building it

查找资料说是磁盘满了,看了下自己的磁盘剩余空间还挺多,所以排除,但是反复编译还是不通过,最后发现是自己的target目录被 Bitvise ssh client 占用着,关掉后,编译通过,问题解决。

A cycle was detected in the build path of project

A cycle was detected in the build path of project


如果我们的项目包含多个工程(project),而它们之间又是循环引用的关系,那么Eclipse在编译时会抛出如下一个错误信息: 
“A cycle was detected in the build path of project: XXX” 
解决方法非常简单: 
Eclipse Menu -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> 将Error改成Warning




A cycle was detected in the build path of project Build path Build Path Problem(Eclipse)

A cycle was detected in the build path of project Build path Build Path Problem(Eclipse)

解决:window--preferences--java--Compiler--Building--Build path problems--circular dependencies 由 error 改成 warning 并应用,问题解决。

 

CocoaPods did not set the base configuration of your project because your project already has a c...

CocoaPods did not set the base configuration of your project because your project already has a c...

今天在封装自己的消息推送 SDK 的时候,pod install 的时候,突然报这个错误,解决方式如下:
$ pod install
Analyzing dependencies
Downloading dependencies
Using AFNetworking (3.1.0)
Using CocoaAsyncSocket (7.6.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 2 total pods installed.
 
[!] The Podfile contains framework or static library targets, for which the Podfile does not contain host targets (targets which embed the framework).
If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
 
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `NewsPushClientSDK` to `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.debug.xcconfig` or include the `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.debug.xcconfig` in your build configuration (`../Pods/Target Support Files/Pods-PushClientSDK/Pods-NewsPushClientSDK.debug.xcconfig`).
 
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `NewsPushClientSDK` to `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.release.xcconfig` or include the `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.release.xcconfig` in your build configuration (`../Pods/Target Support Files/Pods-PushClientSDK/Pods-NewsPushClientSDK.release.xcconfig`).
 
解决如下:在项目里把下面的 Configuration 都改为 None, 然后在 pod install
 

今天关于the resource is not on the build path of a java project 错误the resource is not on the include的讲解已经结束,谢谢您的阅读,如果想了解更多关于A class file was not written. The project may be inconsistent, if so try refreshing this project and、A cycle was detected in the build path of project、A cycle was detected in the build path of project Build path Build Path Problem(Eclipse)、CocoaPods did not set the base configuration of your project because your project already has a c...的相关知识,请在本站搜索。

本文标签: