I’m having trouble with my Spring Boot application where i am trying to run kotlin code i think i am making issue with constructor injection
So below is the controller from which i am getting the error message as : “Cannot invoke “org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder.getObject()” because “this.authenticationManagerBuilder” is null
Constructor injection in kotlin
i am not able to inject properly , because of which i am getting null error.
“message”: “Cannot invoke “com.sfl.core.security.jwt.TokenProvider.refreshToken(String)” because “this.tokenProvider” is null”,