grpc-ecosystem / grpc-ecosystem/grpc-spring

Incompatibility with Spring 6 - ClassNotFoundException: org.springframework.util.SocketUtils

Open
#826 10 comments 4 reactions 0 assignees View on GitHub
feedback required incompatibility
Dominant language
Java
Stars
3.7k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

**SocketUtils** class has been removed from Spring 6 (https://github.com/spring-projects/spring-framework/issues/28054) which is still used in net.devh.boot.grpc.server.config.**GrpcServerProperties** class.

Is there any plan to replace SocketUtils?

_Originally posted by @chaitanya87 in https://github.com/yidongnan/grpc-spring-boot-starter/issues/778#issuecomment-1396811385_

Contributor guide

Open the contributing guide

Research direction

Begin at net.devh.boot.grpc.server.config.GrpcServerProperties and trace its use of Spring's SocketUtils under the Spring 6 dependency. Reproduce the ClassNotFoundException with Spring 6 and determine the intended compatibility change; done means the starter loads without this failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, java, spring, spring-boot
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.