Skip to content

Failed to start application (with profile prod): com.typesafe.config.ConfigException$Missing: system properties: No configuration setting found for key 'caffeine' #840

Answered by ben-manes
mehab asked this question in Q&A
Discussion options

You must be logged in to vote

Typically in Quarkus you would use their cache abstraction and not jcache. That specification was largely a dud, but adopted by a few frameworks like hibernate so provided here. You can look at their tutorial for how to use it.

Otherwise most likely the resources are not being bundled and discovered. Since that is likely using AOT it's a bit different than what I know, so for more help you would need to ask the Quarkus community. The jcache extension uses this config library where settings are typically in application.conf. You can see our unit tests if you want, but I think using Quarkus' cache is most likely the better approach (I don't recommend jcache, it has many footguns).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ben-manes
Comment options

You must be logged in to vote
1 reply
@ben-manes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants