-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The cache with name or alias 'default' is no defined | Spring Boot 2.7.0 #101
Comments
@ragnor Hello So it seems that
note: this method must be placed in config class differ than local implementation of AbstractSSMConfiguration |
Hi @90K2 |
@ragnor thanks a lot for answer. In attached file I've placed small runnable app (kotlin).
So if we use uncommented set of versions, everything is well: beans creating on startup and XMemcachedClient open connect. |
Thank you very much @90K2 for the sample. I've reproduced the issue. Looks like to main problem is some kind of circular dependencies in SSM:
I have to break it by removing CacheBase from CacheFactory and replacing by Settings. It is final solution that will go with next version. In the mean time you can use workaround, set |
I have default and working setup
with config :
but when bump Spring version 2.3.4 to 2.7.0 default cache bean stop creating on startup. Previously startup logs print success info
and everything working fine while 2.7.0 does not create memcached connection during startup and CacheBase.afterPropertiesSet() collect zero cashe beans
The text was updated successfully, but these errors were encountered: