No TokenService No Jwts.builder() quando chega no .signWith(SignatureAlgorithm.HS256, secret) Ele dispara essa exeption:
java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[na:na]
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[na:na]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[na:na]
at io.jsonwebtoken.impl.Base64Codec.decode(Base64Codec.java:26) ~[jjwt-0.9.1.jar:0.9.1]
at io.jsonwebtoken.impl.DefaultJwtBuilder.signWith(DefaultJwtBuilder.java:99) ~[jjwt-0.9.1.jar:0.9.1]
at br.com.poc.ldap_login.service.TokenService.gerarToken(TokenService.java:31) ~[classes/:na]
at br.com.poc.ldap_login.controller.AutenticacaoController.autenticar(AutenticacaoController.java:32)