In testing with Java 8, there is an exception:

Jun 18, 2023 11:31:23 AM org.geotools.tutorial.quickstart.Quickstart main
INFO: java.util.logging.config.file=null
Exception in thread "main" java.lang.NoSuchMethodError:
java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
        at
org.geotools.data.shapefile.dbf.DbaseFileHeader.readHeader(DbaseFileHeader.java:577)
        at
org.geotools.data.shapefile.dbf.DbaseFileReader.doInit(DbaseFileReader.java:226)
        at
org.geotools.data.shapefile.dbf.DbaseFileReader.init(DbaseFileReader.java:186)
        at
org.geotools.data.shapefile.dbf.DbaseFileReader.<init>(DbaseFileReader.java:148)
        at
org.geotools.data.shapefile.ShapefileSetManager.openDbfReader(ShapefileSetManager.java:132)
        at
org.geotools.data.shapefile.ShapefileFeatureSource.readAttributes(ShapefileFeatureSource.java:497)
        at
org.geotools.data.shapefile.ShapefileFeatureSource.buildFeatureType(ShapefileFeatureSource.java:454)
        at
org.geotools.data.shapefile.ShapefileFeatureStore.buildFeatureType(ShapefileFeatureStore.java:142)
        at
org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:339)
        at
org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:308)
        at
org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:106)
        at
org.geotools.tutorial.quickstart.Quickstart.main(Quickstart.java:58)

https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/

Jody says we should build using Java 8 not 11, so we're doing the release
again.



On Sun, 18 Jun 2023 at 11:26, Jody Garnett <jody.garn...@gmail.com> wrote:

> Artifacts are available for preflight testing:
> https://build.geoserver.org/view/release/job/geotools-release/lastSuccessfulBuild/artifact/build/release/distribution/28.4/
>
> Thanks Peter for volunteer for today's release :)
> --
> Jody Garnett
> _______________________________________________
> 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