问题标签 [file-not-found]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
iphone - iPhone - ShareKit , SHK.m 给出 FileNot Found 的编译器错误
我在使用 ShareKit Integrated 编译我的 iphone 项目时遇到了这个问题。我正在努力解决这个问题,到目前为止一切正常,突然之间它给了我错误。在 SHK.m 文件中,
我想我不小心更改了某些内容或删除了任何文件。不明白发生了什么错误。有人可以帮我解决这个问题吗??
注意:(我没有改变我的 Xcode,也没有改变项目位置或任何东西)
javascript - 在带有RequiredFieldValidators 的页面上找不到Javascript 错误/WebResource
我的一个朋友在他的一个网络表单上遇到问题,他提到每次他加载一个包含 RequiredFieldValidators 的页面时,该页面都会引发以下 Javascript/WebResource 错误:
消息:语法错误行
:3
字符:1
代码:0
URI:http://localhost/miproyecto/WebResource.axd?CCL=ynu3FmO0gS8j
我认为该问题可能与表单身份验证问题有关,因此他允许资源成为允许的文件,如下所示:
然而问题依然存在
我想知道是否有办法摆脱这个问题。
问候, CR
编辑:忘记提到当他在页面上评论RequiredFieldValidators 时,错误就消失了。但我们的想法是保留它们。
caching - 在 Hadoop 上使用 DistributedCache 时找不到文件
我使用下面的代码有一个fileNotFound问题,这是对distributedCache的简单测试,不知道是什么问题?
文件的路径是正确的,但我在datanode上找不到文件:
我NullPointerException
在这一点上得到一个:
问题是因为 f 的值是null
。
我使用了下面的代码,但它不起作用。
java - Error: Could not find or load main class- Novice
Hi I am a novice in JAVA. I have been getting this file not found exception inspite of the file existing in the very location I have specified in the path which is
Initially I had the issue of file not found. However, after performing a clean and re-run, now I am having an issue which says
Error: Could not find or load main class main.main
Also in the MPasser Constructor the following piece of relevant code is there
Sorry I have made edits from initial query so that it is more clear
grails - 使用 .net Web 服务的 grails wsclient“找不到文件”
首先,如果我的问题很愚蠢,我想道歉,但我真的是在 grails 中使用 .net Web 服务的新手。
有一个 SOAP WS(我无法以任何方式操作),我以这种方式消费:
现在,我已经在一个 asp.Net 项目中毫无问题地测试了这个服务,但是在 Grails 中它给我生成了这个错误:
错误 500:执行控制器 [pruebaplugins.PruebaWsClientController] 的操作 [create] 导致异常:无法为生成的包创建 JAXBContext:“com.something.anothersomething”不包含 ObjectFactory.class 或 jaxb.index
我已经定义了 JAVA_HOME 和 javac 是否存在,我可以在命令提示符的任何位置访问它。
在这篇文章的最后,我会放上详细的信息。
我只测试了这个服务和著名的摄氏-华氏示例,它没有问题,我认为这是因为它只返回一个字符串,不像我的或任何其他服务。
我不知道它是否缺少某些东西,当然可能是我忽略的东西。就像我说的那样,我对这种东西很陌生,我会很感激任何帮助。
不管怎么说,还是要谢谢你。
详细信息:
当我放
在 Config.groovy 的 log4j 中,输出向我抛出了这个:
2012-01-25 16:08:13,514 [http-8080-2] INFO spring.BusApplicationContext - 刷新 org.apache.cxf.bus.spring.BusApplicationContext@5c3e99:启动日期 [2012 年 1 月 25 日星期三 16:08:13 CLST ]; 上下文层次结构的根 2012-01-25 16:08:13,639 [http-8080-2] INFO spring.BusApplicationContext
- 未检测到 cxf.xml 配置文件,依赖于默认值。2012-01-25 16:08:13,820 [http-8080-2] 调试 spring.ControlledValidationXmlBeanDefinitionReader
- 从位置模式加载 0 个 bean 定义 [classpath:META-INF/cxf/cxf-extension-http.xml]2012-01-25 16:08:13,848 [http-8080-2] 调试 spring.BusApplicationContext
PolicyInterceptorProviderRegistry,org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry,org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder,org.apache.cxf.ws.policy.PolicyBuilder,org.apache。 cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider,org.apache.cxf.ws.policy.mtom。 MTOMAssertionBuilder,org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMManager,org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider,org.apache.cxf.ws。 rm.RMAssertionBuilder]; 工厂层次结构的根 cxf.ws.policy.PolicyBuilder,org.apache.cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider, org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder、org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider、org.apache.cxf.ws.rm.RMManager、org.apache.cxf.ws.rm。 policy.RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMAssertionBuilder]; 工厂层次结构的根 cxf.ws.policy.PolicyBuilder,org.apache.cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider, org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder、org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider、org.apache.cxf.ws.rm.RMManager、org.apache.cxf.ws.rm。 policy.RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMAssertionBuilder]; 工厂层次结构的根 RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMAssertionBuilder]; 工厂层次结构的根 RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMAssertionBuilder]; 工厂层次结构的根2012-01-25 16:08:14,009 [http-8080-2] 调试 spring.BusApplicationContext
- 无法找到名为“messageSource”的消息源:使用默认值 [org.springframework.context.support.DelegatingMessageSource@cb229]2012-01-25 16:08:14,009 [http-8080-2] 调试 spring.BusApplicationContext
- 无法找到名为“applicationEventMulticaster”的 ApplicationEventMulticaster:使用默认值 [org.springframework.context.event.SimpleApplicationEventMulticaster@184b649]2012-01-25 16:08:16,095 [http-8080-2] 调试 spring.BusApplicationContext
- 无法找到名为“lifecycleProcessor”的 LifecycleProcessor:使用默认值 [org.springframework.context.support.DefaultLifecycleProcessor@1e10f02]2012-01-25 16:08:18,925 [http-8080-2] INFO dynamic.DynamicClientFactory
- 创建的类:com.something.anothersmth.Aplicacion、com.something.anothersmth.ArrayOfControl、com.something.anothersmth.ArrayOfModulo、com .something.anothersmth.ArrayOfPagina、com.something.anothersmth.ArrayOfRol 等(...所有类)javac:找不到文件:C:\Users\DYT01\AppData\Local\Temp\org.apache.cxf.endpoint.dynamic.DynamicClientFactory@8a3c71-1327518498999-src\com\something\anothersmth\CambiarContraseña.java
用法:javac 使用 -help 获取可能选项的列表
2012-01-25 16:08:20,637 [http-8080-2] 错误 dynamic.DynamicClientFactory - 无法为 ... HttpUrl /AspNetOracleProviderService.asmx?WSDL 编译 java 文件。
c# - C# windows 应用程序事件:应用程序启动时的 CLR20r3
我创建了一个 C# 应用程序并将其安装在我的测试盒上。我的应用程序在我的开发盒上运行完美,但是当我安装在另一台机器上时,它在 Main() 中崩溃。我得到事件类型:CLR20r3
这是事件消息
我使用了详细信息并在 IL Disassembler 中查找错误代码并返回以下内容...
.NET 4.0 已被卸载并重新安装在系统上,并没有改变任何东西。我在网上搜索了所有有同样问题的人似乎都没有解决方案。我现在已经花了一天半的时间来解决这个问题。我不想错过我无法启动应用程序的最后期限。
这是我的 Main() 中唯一的代码
以下是事件查看器的详细信息
事件数据
不确定设计器如何拥有 FileNotFound 异常。我正在使用 DotNetBar.dll 并且我从安装目录中引用它,所以这应该很好。如果你愿意,我可以发布我的设计师,但那里有很多。
c# - 为什么在 system32 文件夹中找不到 C# 库?
项目有对 lib 的引用。如果此库位于可执行文件附近,则一切正常。但我需要把这个库放到 System32 文件夹中。但在这种情况下,项目失败,引发 filenotfoundexception。
我认为我可以随意将我的库放入 system32 文件夹,而不会对我的应用程序造成任何伤害。
这一切有什么问题?
runtime - ld:成功链接共享库后,执行时找不到
我目前正在使用 OpenMPI 库在 Fortran 和 C/C++ 的混合中开发一个简单的数据同步器。就我所见,同步器可以正确编译和链接:
但是,当我在同一机器上执行生成的可执行文件时,我收到一条错误消息,指出找不到共享库之一。ldd证实了这一点。然而,缺少的库 libmpi_cxx.so.0 位于指定文件夹之一中。
谁能给我一个提示我可能做错了什么?
objective-c - 构建失败:未找到 winsock2.h 文件
添加#define _WINSOCKAPI_
但仍然构建失败。
objective-c - import "cocos2d.h" 在某些文件中有效,但不是全部
这是我所做的:
在 Xcode 4.3.1 中
文件 -> 新建 -> 项目 -> 单视图应用程序
将文件 cocos2d-ios.xcodeproj 拖到导航器中。
在构建阶段设置:添加:libcocos2d.a(以红色突出显示),作为链接库(必需)。
添加了 OpenGLles.framework、Quartzcore 和 libz.dylib
更改构建设置 - 将“始终搜索用户路径”设置为“是”将 cocos2d 源目录添加到“用户标头搜索路径”
现在,我似乎可以在 Xcode 创建的应用程序委托和根视图控制器中输入: import "cocos2d.h" 。但是如果我创建一个新文件,并将“import”cocos2d.h“”行添加到顶部,Xcode 会抱怨找不到该文件。但它似乎构建得很好。此外,在这个新文件中,代码意义不起作用。
我该怎么办?为什么我只能在 Xcode 创建的文件中导入?我需要更改一些设置,以便在我创建的文件中导入 cocos2d 吗?
编辑:它似乎构建和运行良好。我可以调用 cocos2d api 中的方法。代码感觉似乎在我创建的新文件中没有看到 cocos2d.h。
编辑 - 当我键入时,代码感觉似乎建议 cocos2d.h : import " 但它不建议来自 cocos2d api 的类/方法。