-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
Spring Boot 3.2.6 with async mode AdviceMode.ASPECTJ IllegalStateException #32916
Comments
Thanks for the sample, @clude86. This appears to be a regression in Spring Framework 6.1.7 and 6.1.8 as the problem does not occur when Spring Framework is downgraded to 6.1.6. We'll transfer this to the Framework team so that they can take a look. |
I suspect this is a duplicate of #32882 - can you try using Spring Framework 6.1.9-SNAPSHOT and report back? You can do so by setting the following in your maven build: <properties>
<spring-framework.version>6.1.9-SNAPSHOT</spring-framework.version>
</properties> or in Gradle: ext['spring-framework.version] = "6.1.9-SNAPSHOT"
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/snapshot' }
} |
Many thanks for the quick feedback. By using the Spring Framework 6.1.9-SNAPSHOT i can start my application without any problems. |
6.1.9-SNAPSHOT is work, |
When using the annotation @EnableAsync with Mode = AdviceMode.ASPECTJ, the following exception occurs with Spring Boot version 3.2.6:
If Spring Boot version 3.2.5 is used, this error does not occur. I have attached a minimal example project that demonstrates this error. Simply start the application or the test.
aspectj_error.zip
The text was updated successfully, but these errors were encountered: