Join Slack
Powered by
Hi guys, I’m new with Spek, anyone know how I can ...
# spek
s
Sartori
10/11/2018, 5:42 PM
Hi guys, I’m new with Spek, anyone know how I can inject dependency with spring boot application? I`m using Spek version 2. i`m trying like this: @Autowired lateinit var userService: UserService
-.kt
Sartori
10/11/2018, 5:44 PM
but it show me error " this annotation is not applicable to target 'local variable'"
5
Views
Open in Slack
Previous
Next