Skip to content

redis-demo 模块启动异常,其余14个模块启动正常 #1

@ChanaLii

Description

@ChanaLii
  1. 我在启动redis-demo模块时遇到异常,貌似是MessageListenerAdapter导入了错误的包,请问这个问题如何解决?

以下是部分启动日志:

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-05-11 15:38:51.375 ERROR 3887 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 1 of method container in com.lhf.springcloud.BeanConfig required a bean of type 'org.springframework.data.redis.listener.adapter.MessageListenerAdapter' that could not be found.


Action:

Consider defining a bean of type 'org.springframework.data.redis.listener.adapter.MessageListenerAdapter' in your configuration.


Process finished with exit code 1
  1. 建议完善Readme文件,如版本号、DB建表脚本

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions