Giter Site home page Giter Site logo

Comments (9)

devemux86 avatar devemux86 commented on August 15, 2024 1

Yes command line works fine.

I retried with a fresh clone and same result in IDE.
Apparently something with Java version. I'll have to check it.

from map-matching.

devemux86 avatar devemux86 commented on August 15, 2024

Indeed as currently map-matching has failed tests:

initializationError(com.graphhopper.matching.http.MatchServletTest)  Time elapsed: 0.01 sec  <<< ERROR!
java.lang.UnsupportedClassVersionError: com/graphhopper/http/GHServer : Unsupported major.minor version 52.0

from map-matching.

karussell avatar karussell commented on August 15, 2024

Fixed now (only ran the tests so far)

from map-matching.

devemux86 avatar devemux86 commented on August 15, 2024

The tests pass if I run Maven via command line but not inside IntelliJ (that worked previously):

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project map-matching-web: Compilation failure

from map-matching.

karussell avatar karussell commented on August 15, 2024

hmmh, did you make sure you you either fetched the fresh deps for GH core or build them locally?

from map-matching.

karussell avatar karussell commented on August 15, 2024

For Netbeans and the command line all seems fine though and travis likes it too :)

from map-matching.

devemux86 avatar devemux86 commented on August 15, 2024

I just tested latest (Java 7/8) GH with a clean IntelliJ profile (system has JDK 7 & 8) and now it fails to build the graphhopper-web module too.

The solution was to declare in IDE level that the projects have to use the JDK 8.
Though I was expecting that the Maven should have taken care of it. 😟

from map-matching.

karussell avatar karussell commented on August 15, 2024

Though I was expecting that the Maven should have taken care of it. 😟

That is strange. Maybe an IntelliJ bug assuming Java 7 due to the mixed Java versions we use?

from map-matching.

devemux86 avatar devemux86 commented on August 15, 2024

Will need some testing.
It's supposed to honor the pom declarations and not needing to make changes via the IDE.
(BTW the problem happens with latest Idea 2016.1.1)

Unless additional directives need to be written in pom files.

from map-matching.

Related Issues (20)

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.