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?wsdl
Cannot 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了。