Closed magick93 closed 6 years ago
This is not a maven plugin error, it is a protoc error. Have you tried compiling your proto file with a command line protoc? I wonder if the error is going to go away if you put the package
instruction before the option java_package
?
I didnt try changing the order. I instead removed the java_package
statement, and the error is now gone.
Am trying to generate java classes from protoc files, and get this error:
Multiple package definitions.
The proto file looks like:
From my understanding the protoc file is valid.