Caused by: java.io.InvalidClassException: org.springframework.security.core.authority.SimpleGrantedAuthority; local class incompatible: stream classdesc serialVersionUID = 530, local class serialVersionUID = 520
Actual Behavior
When we are generating token for the first time its not getting generated and if try next time onwards it generates token
Expected Behavior
It should generate the token from the first call itself.
Summary
Caused by: java.io.InvalidClassException: org.springframework.security.core.authority.SimpleGrantedAuthority; local class incompatible: stream classdesc serialVersionUID = 530, local class serialVersionUID = 520
Actual Behavior
When we are generating token for the first time its not getting generated and if try next time onwards it generates token
Expected Behavior
It should generate the token from the first call itself.
Configuration
Version
Spring Boot version 2.2.2.RELEASE
Sample