geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno César Brito Sant'Anna (JIRA) <>
Subject [jira] Created: (GERONIMO-4508) Spring AOP AspectJ conflict when using Apache CXF
Date Tue, 13 Jan 2009 11:18:02 GMT
Spring AOP AspectJ conflict when using Apache CXF

                 Key: GERONIMO-4508
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
         Environment: Spring 2.5.6, Geronimo JEE Tomcat 2.1.3, AspectJ 1.6.2

            Reporter: Bruno César Brito Sant'Anna

I'm trying to create a WebService Bean on Geronimo using Spring IoC container.

Well, I followed this tutorial

My GERONIMO_OPTS var value is "-Dorg.apache.geronimo.jaxws.provider=cxf -Dorg.apache.geronimo.saaj.provider=axis2

When server starts, when reading Spring AOC Config my server crashes...

Summary stack trace: 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '':
Instantiation of bean failed; nested exception is java.lang.AbstractMethodError: org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.determineConstructor(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Constructor;

It took me several hours to discover that cxf environment was messing around with Spring...

reseting GERONIMO_OPTS and removing cxf webservice stuff from my applicationContext.xml made
my server run again.

Looks like I cannot use CXF with AOP...

I'll attach full stack trace...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message