GeoScript Groovy can't connect to PostGIS when the 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.  I created a pull request a while back:
https://github.com/jodygarnett/hatbox/issues/1

I was wondering if the GeoTools project has run into this problem of if
there is a way to fix it besides modifying the hatbox library,

Thank you!
Jared
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to