The classes you reference are from the java units module.  Have a look if
that has changed for Java 17?

On Thu, Apr 20, 2023 at 3:17 PM Dennis Gesker <den...@gesker.com> wrote:

> Hello:
>
> I was attempting to port a few routines to Quarkus. When attempting to
> create a native package a number of errors are reported;
> BytecodeParserError, UnresolvedElementExcpetion, etc.
>
> These errors seem to be related to the packages
>
> tech.units.indriya.format, org.geotools.measure, org.geotools.util, 
> org.geotools.referencing.wkt
>
> My maven dependencies are:
>
>  <dependency>
> <groupId>org.geotools</groupId>
> <artifactId>gt-main</artifactId>
> <version>29.0</version>
> </dependency>
> <dependency>
> <groupId>org.geotools</groupId>
> <artifactId>gt-opengis</artifactId>
> <version>29.0</version>
> </dependency>
>
> I'm using the
> quay.io/quarkus/ubi-quarkus-mandrel-builder-image:22.3-java17 provided by
> the Quarkus project but also get the same errors using my local GraalVM
> installation.
>
> I've tried setting the classes reported to initialize at run time but this
> didn't work.
>
> Can geotools be used in Graalvm native-image applications? I didn't see
> anything in the FAQ.
>
> Thanks,
> Dennis
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
-- 
--
Jody Garnett
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to