几个Java EE和WebService的问题和解决方案
2017-03-08 21:51
218 查看
The import Java.util cannot be resolved
解决方案:右键项目——-buildpath——–最下面那个configuration 的选择libraries找到JRE(这个时候你会发现这个jre前面有!或者是红X)选中remove掉重新为该项目选择一个JRE选中项目(选择自己配置的jdk的jre)这种情况一般出现在导入新的项目的时候
A configuration error occurred during startup,Please verify the preferece field with the prompt
解决方案:选择window -preference。搜索jdk。。在自己使用的那tomcat中配置使用的JDK即可(最好选用myeclipse自带的jdk)org.apache.cxf.interceptor.Fault: No binding operation info while invoking unknown method with params unknown.
解决方案:在你配置的路径后加上?wsdl即可。http://zhao-pc:8080/springcx/ws/weather——》http://zhao-pc:8080/springcx/ws/weather?wsdlCannot create URL for this address soap.udp://239.255.255.250:3702
解决方案:删除如下的两个cxf-services-ws-discovery-api.jar包和cxf-services-ws-discovery-service-3.0.0 jar
parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist
这个错误多半是因为applicationContext.xml的路径问题,但是也很有可能是因为你从其他地方导入的jar包没有被自动build path这就需要你手动选中并build path了。相关文章推荐
- ws javaee实现方式以及TgsWebservice中 MQ发送延迟问题(柬埔寨项目)
- Java中几个关于日期计算的问题
- Java+Oracle应用开发的几个经典问题
- Java初学者容易混淆的几个问题
- 影响Java程序运行的几个问题
- JAVA学习者要知道的几个问题
- Java初学者容易混淆的几个问题
- JAVA汉字显示问题的解决方案
- Java 关于中文乱码问题的解决方案与经验 (1)
- 温故知新:java的几个基础问题
- Java初学者容易混淆的几个问题
- 几个有参考价值的java问题
- Java 关于中文乱码问题的解决方案与经验 (1)
- 经典java问题,你能答出几个?
- Java 关于中文乱码问题的解决方案与经验 (2)
- 关于在ORACLE下开发JAVA的几个问题
- Java 关于中文乱码问题的解决方案与经验【转载】
- Java和jsp编程中应该注意的几个常见问题
- JAVA 几个经典问题(转)
- Java面试常问的几个问题