Kotlin Spring Boot Dependency Injection

前端 未结 0 1148
清歌不尽
清歌不尽 2021-02-15 07:03

I\'m having problem with kotlin autowired dependency injection

@Service
class VersionServiceImpl : VersionService {

    @Autowired
    lateinit var repository: V         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题