Comments (6)
This appears to be a duplicate of spring-projects/spring-framework#32882. Please try the workarounds suggested in that issue, or build against the latest Spring Framework 6.1 snapshots to verify the fix.
If the workarounds or the Framework fix don't solve the problem, please provide a complete minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it and attaching it to this issue.
from spring-boot.
I got the same issue when bumping SB from 3.2.5 to 3.3.0.
In my case:
- EnableMethodSecurity ~> ASPECTJ mode
- EnableTransactionManagement ~> PROXY mode (default).
- EnableCaching ~> PROXY mode (default).
After switching between Proxy & AspectJ, I found the same phenomenon: When there is a mix of Proxy & AspectJ, there will be an exception like (thrown in AbstractAspectJAdvice):
IllegalStateException: Expecting to find X arguments to bind by name in advice, but actually found Y arguments.
Above workaround does not work for me, even after I use AspectJ mode for each of EnableMethodSecurity, EnableTransactionManagement and EnableCaching. Another exception will be thrown with built-in components in SB:
BeanCreationException: Error creating bean with name 'healthEndpointGroupsBeanPostProcessor' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]: BeanPostProcessor before instantiation of bean failed
...
IllegalStateException: Expecting to find 3 arguments to bind by name in advice, but actually found 2 arguments.
from spring-boot.
@hoanvh thanks for letting us know. Have you tried upgrading your application to the latest Spring Framework SNAPSHOTs to verify the fix?
from spring-boot.
@bclozel yes, I've just found that comment, and I confirm that framework 6.1.9-SNAPSHOT
works for me.
Thank a lot.
from spring-boot.
Thanks for letting us know. I'll close this issue for now. @willome if Spring Framework SNAPSHOTs don't fix the problem, please create a new issue here with a sample application that reproduces the problem.
from spring-boot.
I confirm that upgrading spring-framework to 6.1.9-SNAPSHOT was the only way to fix the problem. Let's keep this issue closed for the moment. Thank you.
from spring-boot.
Related Issues (20)
- Add configuration support for ExponentialHistogram in OTLP Registry
- spring-boot-testcontainers causes unwanted container initialization during AOT processing HOT 4
- DynamicPropertyRegistry in @Bean-method fails with spring-boot-testcontainers dependency in classpath (3.4.0-M1) HOT 2
- Define default value for OpenTelemetry Trace Exporter in auto-configuration HOT 4
- Upgrade to Jakarta Servlet JSP JSTL 3.0.1
- Upgrade to jOOQ 3.18.18
- Upgrade to RxJava3 3.1.9
- Upgrade to Jakarta Servlet JSP JSTL 3.0.1
- Upgrade to jOOQ 3.19.11
- Upgrade to RxJava3 3.1.9
- Document the need to explicitly reset mock servers when using mock server customizers directly
- Document the need to explicitly reset mock servers when using mock server customizers directly
- Document the need to explicitly reset mock servers when using mock server customizers directly
- Upgrade to spring-javaformat 0.0.43
- Document changes in rendering of PageImpl instances in Spring Boot 3.3 migration guide HOT 9
- Upgrade to spring-javaformat 0.0.43
- Upgrade to spring-javaformat 0.0.43
- spring-boot-testcontainers causes unwanted container initialization during AOT processing
- spring-boot-testcontainers causes unwanted container initialization during AOT processing
- EL-based validation message interpolation does not work when using MessageSource HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.