[jira] [Closed] (GERONIMO-4508) Spring AOP AspectJ conflict when using Apache CXF
"Mark Struberg (Jira)" <[email protected]> Mon, 4 May 2026 06:06:00 +0000 (UTC)
| Newsgroups | gmane.comp.java.geronimo.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/GERONIMO-4508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg closed GERONIMO-4508.
-----------------------------------
Resolution: Won't Fix
Closing old outdated issues.
Note that the Apache Geronimo Application Server itself was declared EOL in 2017 and we do not maintain the server parts anymore.
We still do actively maintain many of the Java EE / Jakarta EE which saw the light during creation of the Apache Geronimo Aplication Server.
If you feel that this ticket still affects one of those components then please feel free to reopen the ticket.
thanks, your Apache Geronimo team!
> Spring AOP AspectJ conflict when using Apache CXF
> -------------------------------------------------
>
> Key: GERONIMO-4508
> URL: https://issues.apache.org/jira/browse/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
> Priority: Major
> Attachments: dep_trace.txt, dep_trace_2.txt, dep_trace_3.txt, jetty_trace.txt, trace.txt
>
>
> I'm trying to create a WebService Bean on Geronimo using Spring IoC container.
> Well, I followed this tutorial http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html
> My GERONIMO_OPTS var value is "-Dorg.apache.geronimo.jaxws.provider=cxf -Dorg.apache.geronimo.saaj.provider=axis2 -Dorg.apache.cxf.jaxws.checkPublishEndpointPermission=false"
> When server starts, when reading Spring AOC Config my server crashes...
> Summary stack trace:
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor': 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 was sent by Atlassian Jira
(v8.20.10#820010)