Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError: AuthMetadataFlyweight at o.s.s.r.m.SimpleAuthenticationEncoder #8948

Closed
bclozel opened this issue Aug 7, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Aug 7, 2020

As of RSocket 1.1.0 (see rsocket/rsocket-java#906), the previously deprecated Flywheight classes have been removed.
Spring Framework requires RSocket 1.0+ as a result as of Spring Framework 5.3 (see spring-projects/spring-framework#25548).

Right now a smoke test still fails in Spring Boot with the following:

java.lang.NoClassDefFoundError: io/rsocket/metadata/security/AuthMetadataFlyweight
	at org.springframework.security.rsocket.metadata.SimpleAuthenticationEncoder.encodeValue(SimpleAuthenticationEncoder.java:71) ~[spring-security-rsocket-5.4.0-RC1.jar:5.4.0-RC1]
@bclozel bclozel added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Aug 7, 2020
@bclozel bclozel changed the title NoClassDefFoundError: io/rsocket/metadata/security/AuthMetadataFlyweight at o.s.s.r.m.SimpleAuthenticationEncoder NoClassDefFoundError: AuthMetadataFlyweight at o.s.s.r.m.SimpleAuthenticationEncoder Aug 7, 2020
@jzheaux jzheaux self-assigned this Aug 13, 2020
@jzheaux jzheaux added in: rsocket and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 13, 2020
@jzheaux jzheaux added this to the 5.4.0 milestone Aug 13, 2020
jzheaux added a commit that referenced this issue Aug 14, 2020
Stop using deprecated RSocket APIs in integration tests

Issue gh-8948
@jzheaux
Copy link
Contributor

jzheaux commented Aug 14, 2020

Fixed via 94cf4d1 and 1069e91

@jzheaux jzheaux closed this as completed Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants