我有一个使用h2spatial函数的H2数据库。 但是当我尝试打开它时,它会导致如下错误:
Database driver not found
See in the Help for how to add drivers
Class "org.h2gis.h2spatial.internal.function.spatial.properties.ST_GeometryTypeCode" not found; SQL statement:
CREATE DOMAIN MULTIPOINT AS GEOMETRY(4) CHECK (PUBLIC.ST_GEOMETRYTYPECODE(VALUE) = 4) [90086-196] 90086/90086
我该如何解决此错误?
答案 0 :(得分:0)
尝试使用H2GIS 1.2.3版本:
https://github.com/orbisgis/h2gis/releases/download/v1.2.3/h2-dist-1.2.3-bin.zip
从v1.3.X开始,软件包org.h2gis.h2spatial已被删除