GithubHelp home page GithubHelp logo

Comments (6)

Wouter1 avatar Wouter1 commented on September 15, 2024

There appears to be a number of version conflicts in the pom.

  1. xerces 4.11 conflicts with geotools that uses some sublibrary of xerces 2.4.0 internally
  2. jdom b9 can't beused because geotools uses jdom 1.0
  3. junit 4.11 can't be used because some genius at xpp3 hard included junit 4.7 in their distro...
    But after replacing all these libraries with older libraries, the junit test fial
    . 5 errors 22 warnings, errors like

java.lang.NoClassDefFoundError: Could not initialize class uk.me.parabola.mkgmap.build.LocatorConfig

java.lang.UnsupportedOperationException: setXIncludeAware is not supported on this JAXP implementation or earlier: class org.apache.xerces.jaxp.SAXParserFactoryImpl

from osm-garmin.

Wouter1 avatar Wouter1 commented on September 15, 2024

Fixed the dependency conflicts by ecluding xerces from geotools and including a different working version

from osm-garmin.

Wouter1 avatar Wouter1 commented on September 15, 2024

But that did not resolve the NoSuchMethodError

from osm-garmin.

Wouter1 avatar Wouter1 commented on September 15, 2024

Checking the code. In line 147 there is this

	header.position(OFF_SIGNATURE);

where OFF_SIGNATURE = 16

The error is weird, java does have a position(int) function built in? And there is nothing overriding java.nio (checked the jar).

from osm-garmin.

Wouter1 avatar Wouter1 commented on September 15, 2024

Maybe this netty/netty#9880 or https://stackoverflow.com/questions/48693695/java-nio-buffer-not-loading-clear-method-on-runtime
Is this a bug in the Eclipse built-in compiler?

from osm-garmin.

Wouter1 avatar Wouter1 commented on September 15, 2024

Yes, it is a bug in the Eclipse compiler!

Version: 2021-09 (4.21.0)
Build id: 20210910-1417

If I compile just with maven on java8 from commandline, the tool just works fine.

from osm-garmin.

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.