springboot+kotlin 无法识别@Autowired,@Resource注解解决办法

添加   internal 属性
如下
@Autowired
internal val itemInfoService: IItemInfoService? = null
posted @ 2023-10-14 12:14  小尼  阅读(61)  评论(0编辑  收藏  举报