Closed petivagyok16 closed 6 years ago
I could resolve it. The problem was that i replaced some of the token configs from the application.yml
into static fields in a class called SecurityConstants
but forget to refactor the
@Value("${jwt.secret}")
private String secret;
@Value("${jwt.expiration}")
private Long expiration;
references in JwtTokenUtil.java
.
My bad.
Hi! Thank you for the great work, it's really helpful, even though i cannot run this solution in my own project due to an error i cannot solve. I cloned your repo, tried it and it runs well, but i did the same configurations (i guess..) in my project and yet it doesn't run. I tried to use spring boot
2.0.0.M7
like in your project, but it doesn't help either.The stacktrace looks like this:
Here is my repo
Thanks in advance!