Cannot find a symbol GrpcGenerated after upgrade to 1.40.x #8523
Closed
Description
What version of gRPC-Java are you using?
1.40.1
What is your environment?
Mac OS, Open JDK 11
What did you expect to see?
Compilation success
What did you see instead?
cannot find symbol
[ERROR] symbol: class GrpcGenerated
[ERROR] location: package io.grpc.stub.annotations
Steps to reproduce the bug
I'm using the following plugin to generate classes, but when I upgrade to the mentioned version, the error occurs.
P.S.: with 1.39.0 the error did not occur.
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf-maven-plugin.version}</version>
<configuration>
<protocArtifact>
com.google.protobuf:protoc:3.17.3:exe:${os.detected.classifier}
</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>
io.grpc:protoc-gen-grpc-java:1.39.0:exe:${os.detected.classifier}
</pluginArtifact>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>compile-custom</goal>
</goals>
</execution>
</executions>
</plugin>
Metadata
Assignees
Labels
No labels