我有一个使用 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
我该如何解决这个错误?
最佳答案
尝试H2GIS 1.2.3版本:
https://github.com/orbisgis/h2gis/releases/download/v1.2.3/h2-dist-1.2.3-bin.zip
org.h2gis.h2spatial 包自 v1.3.X 起已被删除
关于java - 无法在任何地方打开 H2Spatial 数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51135280/