Unable to deploy the project in Apache tomcat with apache cxf

前端 未结 4 2102
你的背包
你的背包 2021-01-05 06:54

I have created a soap web service using spring 4.2.4, apache cxf 3.1.4 and maven 3.0. When I try to deploy the application, I am getting an error like below:



        
4条回答
  •  孤独总比滥情好
    2021-01-05 07:05

    Another way to avoid this problem while still using CXF 2.7.18 is to add the following system property: -Dorg.apache.cxf.useSpringClassHelpers=false. This makes CXF avoid Spring helpers usage, so the problem goes away.

    Please note that CXF 2.7.18 is an ancient version, it has unfixed vulnerabilities and the best way to go is to upgrade it to the recent version as another answer suggests.

提交回复
热议问题