为什么在SpringApplication Java文件中编写@Enable Caching批注后应用程序无法启动?

时间:2019-04-19 12:01:05

标签: java spring-boot caching

我想在Springboot应用程序中启用缓存。在使用@EnableCaching对其进行注释之前,应用程序正在运行。

我想在我的应用程序中使用Redis和内存缓存。缓存的类型应由我决定。

org.springframework.data.repository.config.RepositoryConfigurationDelegate [] : org.springframework.data.repository.config.RepositoryConfigurationDelegatem
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationDelegate [] : org.springframework.data.repository.config.RepositoryConfigurationDelegatem
org.springframework.data.repository.config.RepositoryConfigurationDelegate [] : org.springframework.data.repository.config.RepositoryConfigurationDelegatem
org.springframework.data.repository.config.RepositoryConfigurationDelegate [] : org.springframework.data.repository.config.RepositoryConfigurationDelegatem
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport [] : org.springframework.data.repository.config.RepositoryConfigurationExtensionSupportm
org.springframework.data.repository.config.RepositoryConfigurationDelegate [] : org.springframework.data.repository.config.RepositoryConfigurationDelegatem
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [] : org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorCheckerm
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [] : org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorCheckerm
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [] : org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorCheckerm
org.springframework.boot.web.embedded.tomcat.TomcatWebServer [] : org.springframework.boot.web.embedded.tomcat.TomcatWebServerm
org.apache.coyote.http11.Http11NioProtocol [] : org.apache.coyote.http11.Http11NioProtocolm
org.apache.catalina.core.StandardService [] : org.apache.catalina.core.StandardServicem
org.apache.catalina.core.StandardEngine [] : org.apache.catalina.core.StandardEnginem
org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] [] : org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]m
org.springframework.web.context.ContextLoader [] : org.springframework.web.context.ContextLoaderm
org.elasticsearch.plugins.PluginsService [] : org.elasticsearch.plugins.PluginsServicem
org.elasticsearch.plugins.PluginsService [] : org.elasticsearch.plugins.PluginsServicem
org.elasticsearch.plugins.PluginsService [] : org.elasticsearch.plugins.PluginsServicem
org.elasticsearch.plugins.PluginsService [] : org.elasticsearch.plugins.PluginsServicem
org.elasticsearch.plugins.PluginsService [] : org.elasticsearch.plugins.PluginsServicem
org.elasticsearch.plugins.PluginsService [] : org.elasticsearch.plugins.PluginsServicem
org.springframework.data.elasticsearch.client.TransportClientFactoryBean [] : org.springframework.data.elasticsearch.client.TransportClientFactoryBeanm
org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext [] : org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContextm
org.apache.catalina.core.StandardService [] : org.apache.catalina.core.StandardServicem
org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener [] : org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListenerm
org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter [] : org.springframework.boot.diagnostics.LoggingFailureAnalysis

0 个答案:

没有答案