将Geoserver连接到数据库

时间:2019-05-26 10:04:52

标签: java postgresql geoserver

我的问题是我无法在移动应用程序上读取数据库的数据,而无法在日志geoserver中给我此消息。

这是给出的消息:

Caused by: java.lang.RuntimeException: Unable to obtain connection: 

ERROR: function postgis_lib_version() does not exist 
Hint: No function matches the given name and argument types. You might need to add explicit type casts. 
Position: 8 at 
org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:2096) at 
org.geotools.jdbc.JDBCDataStore.createTypeNames(JDBCDataStore.java:992) at 
org.geotools.data.store.ContentDataStore.getTypeNames(ContentDataStore.java:308) at 
org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:97) 
at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:649)


geoserver function postgis_lib_version() does not exist

0 个答案:

没有答案