You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README suggests creating resources/proto/person.proto with "Person" message.
Hovewer this way "lein protoc" fails:
> /home/vi/.lein/cache/lein-protobuf/protobuf-2.4.1/src/protoc person.proto --java_out=/tmp/qq/prototest/target/protosrc -I. -I/tmp/qq/prototest/target/proto -I/tmp/qq/prototest/resources/proto
ERROR: --java_out: person.proto: person.proto: Cannot generate Java output because the file's outer class name, "Person", matches the name of one of the types declared inside it. Please either rename the type or use the java_outer_classname option to specify a different outer class name for the .proto file.
I have to rename the message to "Person2" to get it well and use (import Person$Person2) as well. Also I have to fix: (use 'flatland.protobuf.core) instead of (use 'protobuf.core)...
The text was updated successfully, but these errors were encountered:
README suggests creating resources/proto/person.proto with "Person" message.
Hovewer this way "lein protoc" fails:
I have to rename the message to "Person2" to get it well and use
(import Person$Person2)
as well. Also I have to fix:(use 'flatland.protobuf.core)
instead of(use 'protobuf.core)
...The text was updated successfully, but these errors were encountered: