Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not work on jdk11 #351

Open
codingmiao opened this issue Nov 13, 2018 · 2 comments
Open

Can not work on jdk11 #351

codingmiao opened this issue Nov 13, 2018 · 2 comments

Comments

@codingmiao
Copy link

codingmiao commented Nov 13, 2018

Can not running this code on jdk11

            ShapefileImporter importer = new ShapefileImporter(graphDb);
            importer.importFile("xxx/highway.shp", "layer_roads");

error message:
org.geotools.styling.StyleFactory is not an ImageIO SPI class

@craigtaverner
Copy link
Contributor

Perhaps we need to depend on newer versions of geotools?

@mprins
Copy link

mprins commented Apr 2, 2019

Geotools 21 is fully Java 11 compliant: https://geotoolsnews.blogspot.com/2019/03/geotools-210-released.html

Since the currently used version is 14.4 this is a non-trivial upgrade, see also: http://docs.geotools.org/latest/userguide/welcome/upgrade.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants