vertx-web-sstore-caffeine NoSuchMethodError issue

16 views
Skip to first unread message

timm...@hotmail.com

unread,
Sep 29, 2025, 2:22:56 AMSep 29
to vert.x
Hi,

I am trying to use caffeine session  webstore, facing this issue when installing the session handler:

"stackTrace": "java.lang.NoSuchMethodError: 'com.github.benmanes.caffeine.cache.Expiry com.github.benmanes.caffeine.cache.Expiry.accessing(java.util.function.BiFunction)' \tat io.vertx.ext.web.sstore.caffeine.impl.CaffeineSessionStoreImpl.lambda$init$3(CaffeineSessionStoreImpl.java:64) \tat io.vertx.core.impl.SharedResourceHolder.lambda$createSharedResource$1(SharedResourceHolder.java:40) \tat io.vertx.core.shareddata.impl.LocalMapImpl.lambda$typeChecked$1(LocalMapImpl.java:156) \tat java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1932)"

Environment:

Vertx 5.0.4
JDK  "25" 2025-09-16 LTS
Caffeine 3.1.8 (Managed dependency)

Thanks

Thomas SEGISMONT

unread,
Oct 2, 2025, 4:27:22 AMOct 2
to ve...@googlegroups.com
Hi,

The caffeine session store is built with version 3.2.1. Please consider upgrading your caffeine dependency

Thanks,
Thomas

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/vertx/a896f4b7-45ff-4844-bddf-a39b7fcaed7an%40googlegroups.com.

timm...@hotmail.com

unread,
Oct 2, 2025, 5:10:17 AMOct 2
to vert.x
Thanks Thomas, my bad, I missed older version being pulled in from else where
Reply all
Reply to author
Forward
0 new messages