Comments (6)
There appears to be a number of version conflicts in the pom.
- xerces 4.11 conflicts with geotools that uses some sublibrary of xerces 2.4.0 internally
- jdom b9 can't beused because geotools uses jdom 1.0
- 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.
Fixed the dependency conflicts by ecluding xerces from geotools and including a different working version
from osm-garmin.
But that did not resolve the NoSuchMethodError
from osm-garmin.
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.
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.
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)
- Error in style HOT 3
- optimize "grey" style HOT 7
- grey style zoomout HOT 4
- bad roads HOT 5
- can't push updated readme HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm-garmin.