grpc-ecosystem / grpc-ecosystem/grpc-spring
The gRPC server does not start, Java
- Dominant language
- Java
- Stars
- 3.7k
- Forks
- 858
- PR merge metrics
- No merged PRs in 30d
Description
Labeled the class with the annotation @GrpcServer
```
@GrpcService
public class UserService extends UserGrpc.UserImplBase {...code}
```
I'm using it together with spring boot web.
Gradle dependencies:
```
dependencies {
implementation 'net.devh:grpc-server-spring-boot-starter:2.14.0.RELEASE'
implementation 'net.devh:grpc-server-spring-boot-autoconfigure:2.14.0.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.postgresql:postgresql:42.6.0'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'org.flywaydb:flyway-core'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.grpc:grpc-testing:1.57.2'
}
```
There is nothing about gRPC in the startup logs, no error or useful information, not even in DEBUG level
Contributor guide
Assessment
This issue has not been assessed yet.