I've imported the grpc-java/examples project into Eclipse (Neon) with the protobuf Eclipse plugin installed. When I build with maven from the command line it is successful, but Eclipse shows all kinds of errors in .java and .proto files. The directories with generated Java files under the target/ directory are shown as src/ directories in Eclipse.
Both .proto files show this error in Eclipse:
Couldn't resolve reference to IndexedElement 'objc_class_prefix'.
Eclipse was complaining about a missing test/ directory, and I removed that from the list of src/ directories in Eclipse. That solved some of the errors. It seems like the import of the project generated some errors.
Is there something else I need to do to get Eclipse to work with gRPC? Eclipse is giving false error reports.