我在我的 Ubuntu 18.04 LTS 系统上使用 GeoMondrian Workbench 时遇到问题。我已按照安装说明进行操作并安装了以下内容:
Oracle Java 8
PostgreSQL 9.5
PostGIS 2.5
我已经下载了 GeoMondrian Workbench 和“simple_geofoodmart.sql”文件,创建了一个数据库,并将必要的参数传递给了工作台。
但是,当我尝试打开“simple_geofoodmart.xml”架构文件时,出现以下错误:
Error: Schema file C:\schema-workbench\demo\simple_geofoodmart.xml is invalid. org/opengis/referencing/NoSuchAuthorityCodeException java.lang.NoClassDefFoundError: org/opengis/referencing/NoSuchAuthorityCodeException
此外,当我尝试使用 MDX 查询时,出现以下错误:
"Exception in thread 'AWT-EventQueue-0' java.lang.NoClassDefFoundError: Could not initialize class mondrian.olap.fun.GlobalFunTable at mondrian.rolap.RolapSchema$RolapSchemaFunctionTable.defineFunctions(RolapSchema.java:1643)"
我已尝试解决所有依赖项并确保我的类路径中有必要的 JAR 文件,但我仍然遇到相同的错误。谁能帮我弄清楚出了什么问题以及如何解决?谢谢!