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

Illegal reflective access by org.geotools.image.ImageWorker #10

Open
tobwen opened this issue Mar 13, 2021 · 1 comment
Open

Illegal reflective access by org.geotools.image.ImageWorker #10

tobwen opened this issue Mar 13, 2021 · 1 comment

Comments

@tobwen
Copy link

tobwen commented Mar 13, 2021

issue

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.geotools.image.ImageWorker (file:/geoc-app-0.15.0.jar) to constructor com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi()
WARNING: Please consider reporting this to the maintainers of org.geotools.image.ImageWorker
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

steps to reproduce

# Debian Buster
$ java -jar ./geoc-app-0.15.0.jar tile generate -l "type=utfgrid file=utf" -m "layertype=layer file=test.shp" -f "AGS" -s 0 -e 0 -v

possible fix

add-exports java.desktop/com.sun.imageio.plugins.jpeg

@tobwen
Copy link
Author

tobwen commented Mar 13, 2021

Seems to be the old problem... this still works: #7 (comment)

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

1 participant