Unable to deploy the project in Apache tomcat with apache cxf

Upgrading to apache cxf to 3.2.0 fixed the issue for Spring Framework 5.0.1


Bumping CXF from 2.7.18 to 3.2.0 fixed this issue for me.

CXF needs to be bumped to major version 3, which supports Spring 4.2.x.

Note that OP used CXF 2.7.18 for artifact cxf-bundle. This is what was causing the trouble.


That version of cxf is not compatible with Spring 4.2.x - those methods were deprecated in Spring 3.1 and were removed in Spring 4.2.

See the commit here. CXF needs to change the method call to use ClassUtils#isCglibProxyClass(Class).

You'll have to check with the CXF folks to see if they have a version that works with Spring 4.2.