Git Product home page Git Product logo

Comments (5)

coleHafner avatar coleHafner commented on May 1, 2024

+1

I just ran into the same issue. I'm was really hoping to get this built. Has anyone been able to get around this error?

from supl-client.

dmiralles2009 avatar dmiralles2009 commented on May 1, 2024

@coleHafner check my forked version that I think I fixed this a while ago. I should try to get a PR done

from supl-client.

coleHafner avatar coleHafner commented on May 1, 2024

@dmiralles2009 I still get the same error:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/colehafner/Sites/__nordic/supl-client-2/target/generated-sources/protobuf/java/com/google/location/suplclient/supl/Ephemeris.java:[50,9] cannot find symbol
  symbol:   class UnusedPrivateParameter
  location: class com.google.location.suplclient.supl.Ephemeris.GpsTimeProto
[ERROR] /Users/colehafner/Sites/__nordic/supl-client-2/target/generated-sources/protobuf/java/com/google/location/suplclient/supl/Ephemeris.java:[650,9] cannot find symbol
  symbol:   class UnusedPrivateParameter
  location: class com.google.location.suplclient.supl.Ephemeris.IonosphericModelProto
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.285 s
[INFO] Finished at: 2019-10-10T15:20:59-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project SuplClient: Compilation failure: Compilation failure:
[ERROR] /Users/colehafner/Sites/__nordic/supl-client-2/target/generated-sources/protobuf/java/com/google/location/suplclient/supl/Ephemeris.java:[50,9] cannot find symbol
[ERROR]   symbol:   class UnusedPrivateParameter
[ERROR]   location: class com.google.location.suplclient.supl.Ephemeris.GpsTimeProto
[ERROR] /Users/colehafner/Sites/__nordic/supl-client-2/target/generated-sources/protobuf/java/com/google/location/suplclient/supl/Ephemeris.java:[650,9] cannot find symbol
[ERROR]   symbol:   class UnusedPrivateParameter
[ERROR]   location: class com.google.location.suplclient.supl.Ephemeris.IonosphericModelProto
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

I'm attempting to compile with maven:

cd <project dir>
mvn initialize
mvn compile

from supl-client.

coleHafner avatar coleHafner commented on May 1, 2024

Ah, nevermind. src/main/ephemeris.proto had a reference to the IonosphericModelProto still. I commented that out and it now builds.

from supl-client.

lc6chang avatar lc6chang commented on May 1, 2024

I'm using MacOS and got the same issue. A simple workaround is to manually complie the proto object file (mentioned in README.md).
e.g.

$ cd supl-client
$ protoc --java_out=src/main/java src/main/proto/ephemeris.proto

from supl-client.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.