Closed agrancaric closed 1 year ago
same error
Proper aspect support should come with Spring Framework 6 and Spring Boot 3 which are just around the corner. You can follow https://github.com/spring-projects/spring-framework/issues/28711 related issue.
Hello, I have a problem when using an aspect with annotation pointcut. It seems that the pointcut matches more that it should and causes an exception:
when I add the mentioned interfaces to proxy-config.json another exception is thrown with more missing proxy entries etc. The issue seems to happen when I have also
spring-boot-starter-data-jpa
dependency (without it it works ok). What also works is a pointcut by full path execution (referencing the exact class and methods without annotation).Not sure can I do anything from my side to fix it (the project attached is just an example and the original annotation and aspect are in a library so I would like to avoid users having to add a package)? The Graal and Java versions are:
Version info: 'GraalVM 22.2.0 Java 11 CE' Java version info: '11.0.16.1+1-LTS'
Thanks in advance for any help.
The example project: spring-native-pointcut-example.zip