Skip to content

Reliably apply AspectJ weaving to @Component classes with LoadTimeWeaver setup on Tomcat #29609

Open
@kuku20045

Description

@kuku20045

Affects: 6.0.2
We are trying to migrate from 5.3.19 to 6.0.2 and it seems that @service beans and @component beans are not woven anymore.
In our case, the result is that our @Transactionnal methods are no longer advised by the AnnotationTransactionAspect.

Looks like the issue was already present in older spring version.
I use the -javaagent:aspectjweaver.jar as a workaround but it is clearly not ideal for our project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions