cxf整合spring錯誤爲:cvc-complex-type.2.4.c

cxf整合spring,報錯信息以下: java

Multiple annotations found at this line:
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for 
element 'jaxws:endpoint'.
- schema_reference.4: Failed to read schema document 'http://cxf.apache.org/schema/
jaxws.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root 
element of the document is not <xsd:schema>. spring

是因爲eclipse不識別javas.xsd形成的,解決方案以下: apache

若是還顯示錯誤,那麼將jaxws:endpoint標籤內容刪除後,而後保存後,再將內容貼到beans.xml中便可。 eclipse

相關文章
相關標籤/搜索