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.
I am pretty sure that GeoTools will run into the same problem. I can send a pull request if you would like.
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.
I am pretty sure that GeoTools will run into the same problem. I can send a pull request if you would like.