Posts by Renato Costa • 1 point
2 posts
-
-1
votes1
answer106
viewsA: @Autowired service does not work on Constraintvalidator in Kotlin
After much searching I found the solution in this answer: https://stackoverflow.com/a/53897856/13098285 Putting my database startup in the Starthere class all @Autowired were already ready to be…
-
-1
votes1
answer106
viewsQ: @Autowired service does not work on Constraintvalidator in Kotlin
I’ve been using Spring Boot for some time in Java and never had a problem with injections using @Autowired. But recently I decided to transform a Rest API project that was in Java to Kotlin, all the…