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

Fix HatBox / PostGIS conflict #45

Closed
jericks opened this issue Jul 25, 2018 · 0 comments
Closed

Fix HatBox / PostGIS conflict #45

jericks opened this issue Jul 25, 2018 · 0 comments

Comments

@jericks
Copy link
Member

jericks commented Jul 25, 2018

GeoScript Groovy can't connect to PostGIS when the new hatbox jar is on the classpath.

https://groups.google.com/forum/#!topic/geoscript/Ff2vqftzhqQ

The error we get is:

java.lang.SecurityException: Prohibited package name: java.sql
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:662)
at java.lang.ClassLoader.defineClass(ClassLoader.java:761)

The solution appears to be removing the hatbox java.sql package and upgrading the java compiler version to 1.6. The interfaces were only there to support java 1.5.

Hatbox Issue:
jodygarnett/hatbox#1

Hatbox Pull Request:
jodygarnett/hatbox#2

@jericks jericks closed this as completed Jul 29, 2020
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