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

java.lang.ClassNotFoundException: java.rmi.server.UID (Spring Boot release 3.1.4) #1635

Closed
jwesselink opened this issue Oct 10, 2023 · 1 comment
Labels
type: bug A general bug

Comments

@jwesselink
Copy link

I'm getting a java.lang.ClassNotFoundException: java.rmi.server.UID when upgrading to the latest spring boot release 3.1.4

Caused by https://github.com/spring-projects/spring-data-relational/blob/52d316310be11f1e1b72ebc46a347306d3c69a68/spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/PostgresDialect.java#L54C68-L54C71

Why is there a dependency on RMI? I'm building a custom JRE and I don't want to include RMI for accessing a database.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 10, 2023
@schauder schauder added status: waiting-for-feedback We need additional information before we can continue and removed status: waiting-for-feedback We need additional information before we can continue labels Oct 10, 2023
schauder added a commit that referenced this issue Oct 10, 2023
@schauder schauder added this to the 3.1.5 (2023.0.5) milestone Oct 10, 2023
@schauder
Copy link
Contributor

Thanks for finding this. It will be fixed in the next release.

@schauder schauder added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants