The import Java.util cannot be resolved
解決方案:右鍵項(xiàng)目-------buildpath--------最下面那個(gè)configuration 的選擇libraries找到JRE(這個(gè)時(shí)候你會(huì)發(fā)現(xiàn)這個(gè)jre前面有!或者是紅X)選中remove掉重新為該項(xiàng)目選擇一個(gè)JRE選中項(xiàng)目(選擇自己配置的jdk的jre)
這種情況一般出現(xiàn)在導(dǎo)入新的項(xiàng)目的時(shí)候
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
解決方案:刪除如下的兩個(gè)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
這個(gè)錯(cuò)誤多半是因?yàn)閍pplicationContext.xml的路徑問題,但是也很有可能是因?yàn)槟銖钠渌胤綄?dǎo)入的jar包沒有被自動(dòng)build path這就需要你手動(dòng)選中并build path了。