redis - spring.xml配置好beanA,父类autowired bean,其子类为何获取beanA报null?,
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-04-26 09:02:14
0
0
831

spring.xml配置好bean redisTemplate,父类autowired bean,其子类为何获取bean redisTemplate报null?

子类直接autowired bean redisTemplate 是可以的,注入成功

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!