Hi, I'm trying to use CXF with Maven and Spring 2.5.5.

My problem is that the CXF poms depend on Spring 2.0.8 resulting in the
following error when I try to write tests:

org.apache.maven.surefire.booter.SurefireExecutionException:
org/springframework/core/AliasRegistry; nested exception is
java.lang.NoClassDefFoundError: org/springframework/core/AliasRegistry
java.lang.NoClassDefFoundError: org/springframework/core/AliasRegistry

My question is:

Does anyone know how I can configure Maven to override the spring
dependencies so that CXF will use 2.5.5 instead of 2.0.8?

Or, do I have to rip out maven and use ant so that I can have local libs
instead?

kind regards,
Tarjei

Reply via email to