cxf整合spring错误为:cvc-complex-type.2.4.c
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                cxf整合spring错误为:cvc-complex-type.2.4.c
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.                        
                                cxf整合spring,報錯信息如下:
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>.
是由于eclipse不識別javas.xsd造成的,解決方案如下:
如果還顯示錯誤,那么將jaxws:endpoint標簽內容刪除后,然后保存后,再將內容貼到beans.xml中即可。
總結
以上是生活随笔為你收集整理的cxf整合spring错误为:cvc-complex-type.2.4.c的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 数组方法总结
- 下一篇: easyui select 下拉框的取值
