0
私は春のセキュリティでゲートウェイベースの認証を使用しています。ユーザーはデータベースから認証されます。 zuulを介して、認証されたユーザはUIマイクロサービスに導かれる。 UIマイクロサービスにルーティングされたときに、管理ゲートウェイサービスでユーザーが正常に認証されると、次の例外が発生します。あなたの例外でスプリングセキュリティ管理ゲートウェイとangularjs例外
There was an unexpected error (type=Internal Server Error, status=500).
Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: mysecurity.CustomUserDetails
にあなたが私のコードの作品を作ったありがとうmaciekを
mysecurity.CustomUserDetails
クラスを持っていることを確認してください。 –