-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
Hi guys,
I'm trying to use method writer + chronicle queue in my spring boot application. I've followed the guide here, but I'm still getting the following error:
[WARN ] 2025-04-08 22:35:12.755 [main] VanillaMethodWriterBuilder - Failed to compile generated method writer - falling back to proxy method writer. Please report this failure as support for proxy method writers will be dropped in x.25.
I'm sure I've missed something simple. But I've created a sample project here which demonstrates the problem.
To replicate the issue, you can just compile using maven wrapper, followed by running 'run.sh' (FYI, I'm using OpenJDK 17.0.8+7-LTS). I've also checked in an IntelliJ run configuration (which doesn't use uber jar), where the application runs fine.
When you run the script, you will see messages such as below:
DEBUG] 2025-04-08 22:35:12.463 [main] Jvm - Adding / to the classpath
[DEBUG] 2025-04-08 22:35:12.463 [main] Jvm - Adding /var/folders/_f/q3hgsl4n55vfkmh_t30vy5s00000gn/T/springboot-chronicle-1.0-SNAPSHOT.jar-spring-boot-libs-9766626e-cedb-435c-845d-ab01c94fd199/chronicle-queue-5.27ea3.jar to the classpath
[DEBUG] 2025-04-08 22:35:12.464 [main] Jvm - Adding / to the classpath
[DEBUG] 2025-04-08 22:35:12.469 [main] Jvm - Adding / to the classpath
[DEBUG] 2025-04-08 22:35:12.469 [main] Jvm - Adding /var/folders/_f/q3hgsl4n55vfkmh_t30vy5s00000gn/T/springboot-chronicle-1.0-SNAPSHOT.jar-spring-boot-libs-9766626e-cedb-435c-845d-ab01c94fd199/chronicle-analytics-2.27ea0.jar to the classpath
[DEBUG] 2025-04-08 22:35:12.469 [main] Jvm - Adding /var/folders/_f/q3hgsl4n55vfkmh_t30vy5s00000gn/T/springboot-chronicle-1.0-SNAPSHOT.jar-spring-boot-libs-9766626e-cedb-435c-845d-ab01c94fd199/chronicle-bytes-2.27ea2.jar to the classpath
[DEBUG] 2025-04-08 22:35:12.469 [main] Jvm - Adding /var/folders/_f/q3hgsl4n55vfkmh_t30vy5s00000gn/T/springboot-chronicle-1.0-SNAPSHOT.jar-spring-boot-libs-9766626e-cedb-435c-845d-ab01c94fd199/chronicle-threads-2.27ea0.jar to the classpath
[DEBUG] 2025-04-08 22:35:12.470 [main] Jvm - Adding / to the classpath
[DEBUG] 2025-04-08 22:35:12.470 [main] Jvm - Adding / to the classpath
[DEBUG] 2025-04-08 22:35:12.470 [main] Jvm - Adding /var/folders/_f/q3hgsl4n55vfkmh_t30vy5s00000gn/T/springboot-chronicle-1.0-SNAPSHOT.jar-spring-boot-libs-9766626e-cedb-435c-845d-ab01c94fd199/chronicle-wire-2.27ea5.jar to the classpath
[DEBUG] 2025-04-08 22:35:12.470 [main] Jvm - Adding / to the classpath
which to me, seems to indicate that it already does what the 'requiresUnpack' spring-boot-maven-plugin configuration is supposed to do.
Thank you in advance!
Metadata
Metadata
Assignees
Labels
No labels