Skip to content

No matching method getTagWireType found taking 1 args for class com.google.protobuf.WireFormat #148

@jerielverissimo

Description

@jerielverissimo

Hi, when I try to use this lib I get the following error, this happens when I use the lein template too.

Reflection warning, protojure/protobuf.clj:24:19 - call to static method newInstance on com.google.protobuf.CodedOutputStream can't be resolved (argument types: java.nio.ByteBuffer).
Reflection warning, protojure/protobuf.clj:27:19 - call to static method newInstance on com.google.protobuf.CodedOutputStream can't be resolved (argument types: java.nio.ByteBuffer).
Syntax error (IllegalArgumentException) compiling . at (protojure/protobuf/serdes/core.clj:80:14).
No matching method getTagWireType found taking 1 args for class com.google.protobuf.WireFormat

My project.clj:

(defproject book "0.1.0-SNAPSHOT"
  :description  "FIXME: write description"
  :url          "http://example.com/FIXME"
  :license      {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
                 :url  "https://www.eclipse.org/legal/epl-2.0/"}
  :plugins      [[lein-ancient "0.7.0"]]
  :dependencies [[org.clojure/clojure "1.10.3"]

                 ;; -- PROTOC-GEN-CLOJURE --
                 [io.github.protojure/core "2.0.1"]
                 [io.github.protojure/google.protobuf "2.0.0"]]
  :repl-options {:init-ns book.core})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions