com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner cannot be resolved to a type
416 views
Skip to first unread message
Mike
unread,
Jul 14, 2009, 5:57:47 PM7/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Protocol Buffers
I am getting the error
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner
cannot be resolved to a type
when Eclipse compiles my generated Java code? I wrote a plugin that
generates the protocol buffer messages from the ecore file of an EMF
Model diagram. It creates a new project, puts the .proto files in a
folder and then runs protoc java compiler against the .proto files to
create the java code. The java files are put in another folder of the
same project under a package file. I put the jar file protobuf-
java-2.0.0beta.jar in the Java Build Path libraries of the project I
placed the generated java files in. It removes all errors related to
protocol buffer code except the one I listed. I have searched the
Internet but have not seen this error anywhere? Anyone come across
this before?
Thanks,
Mike
Kenton Varda
unread,
Jul 14, 2009, 8:03:45 PM7/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mike, Protocol Buffers
Answered in the other thread -- you need to use matching protoc and protobuf library versions.