Open spektom opened 8 years ago
Proto file:
message Settings { repeated string currencies = 1; repeated string timezones = 2; }
When running lein jar, I'm getting these errors:
lein jar
/home/michael/Dev/projects/af-protocol/target/protosrc/af_protocol/protobuf/Events.java:6377: error: cannot find symbol currencies_ = currencies_.getUnmodifiableView(); ... symbol: method getUnmodifiableView() location: variable timezones_ of type LazyStringList /home/michael/Dev/projects/af-protocol/target/protosrc/af_protocol/protobuf/Events.java:6753: error: cannot find symbol return currencies_.getUnmodifiableView(); ... symbol: method getUnmodifiableView() location: variable timezones_ of type LazyStringList /home/michael/Dev/projects/af-protocol/target/protosrc/af_protocol/protobuf/Events.java:6420: error: incompatible types: LazyStringList cannot be converted to ProtocolStringList return currencies_; ^ ...
Project settings are:
:plugins [[lein-protobuf "0.4.3"]] :dependencies [[org.clojure/clojure "1.6.0"] [org.flatland/protobuf "0.8.1"] [com.google.protobuf/protobuf-java "2.6.1"]])
Did you find the solution for the problem?Thanks for your reply.
@hkxIron IIRC, I used another project to solve this...
Proto file:
When running
lein jar
, I'm getting these errors:Project settings are: