Merged your change, sadly I am unable to build (unable to
grab com.h2database:h2:jar) even after upgrading...

*[ERROR] Failed to execute goal on project hatbox: Could not resolve
dependencies for project net.sourceforge.hatbox:hatbox:jar:1.0.b11: Failed
to collect dependencies at com.h2database:h2:jar:1.4.200: Failed to read
artifact descriptor for com.h2database:h2:jar:1.4.200: Could not transfer
artifact com.h2database:h2:pom:1.4.200 from/to central
(http://repo1.maven.org/maven2 <http://repo1.maven.org/maven2>): Failed to
transfer file
http://repo1.maven.org/maven2/com/h2database/h2/1.4.200/h2-1.4.200.pom
<http://repo1.maven.org/maven2/com/h2database/h2/1.4.200/h2-1.4.200.pom>
with status code 501 -> [Help 1]*


It does appear to be available
https://search.maven.org/artifact/com.h2database/h2/1.4.200/jar

The project itself remains inactive https://sourceforge.net/projects/hatbox/
--
Jody Garnett


On Mon, 6 Apr 2020 at 08:23, Jody Garnett <jody.garn...@gmail.com> wrote:

> I did not know my fork was the official one :P Should we transfer to the
> GeoTools GitHub?
> --
> Jody Garnett
>
>
> On Sat, 4 Apr 2020 at 12:25, Jared Erickson <jared.erick...@gmail.com>
> wrote:
>
>> 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
>>
>
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to