Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AspectJ seems to not work with JBOSS AS 7 [SPR-9315] #13953

Closed
spring-issuemaster opened this issue Apr 8, 2012 · 2 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Apr 8, 2012

Amit Maheshwari opened SPR-9315 and commented

Hi,
I am trying implement AspectJ in my Spring MVC project. The aspect that I am applying is correctly getting applied as seen through eclipse. But when i try deploying it into JBOSS server I get below mentioned error--
ClassLoader [org.jboss.modules.ModuleClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jar

I have written context:load-time-weaver/ in my servlet-context.xml

Please let me know what i need to do?


No further details from SPR-9315

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Apr 9, 2012

Gleb Schukin commented

Amit, according to this and this Jboss 7 doesn't support AOP.

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Apr 13, 2012

Chris Beams commented

Hi Amit,

This is really a usage question, not an issue being reported. Consider checking out the #spring tag on http://stackoverflow.com, or http://forum.springsource.org.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.