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
클래스가 있는지 확인하십시오. –