java - APPLICATION FAILED TO START:A component required a bean named 'cacheManager' that could not be found - St

admin2025-04-18  5

Can someone help me with this error and how to resolve this? I need to cache the db table, for that I would like to use the ehcache for that. I have already added the dependency to the pom.xml file and the build was successful but how to add the configuration to the springboot application without .xml? Is there any way to include configuration in application.yaml file?

转载请注明原文地址:http://anycun.com/QandA/1744939142a89762.html