Parameter 0 of method 方法b in 类a required a bean of type ***
Posted redback
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Parameter 0 of method 方法b in 类a required a bean of type ***相关的知识,希望对你有一定的参考价值。
Description:
Parameter 0 of method getLastTick in com.td.spec.marketdata.stockdatasourceserver.service.CacheProcessor required a bean of type ‘com.td.spec.marketdata.common.entity.StockTick‘ that could not be found.
Action:
Consider defining a bean of type ‘com.td.spec.marketdata.common.entity.StockTick‘ in your configuration.
出现这个问题 查看注解 是否多了一个
@Autowired
以上是关于Parameter 0 of method 方法b in 类a required a bean of type ***的主要内容,如果未能解决你的问题,请参考以下文章