【问题标题】:Problems in setting gisgraphy geocoder设置gisgraphy地理编码器的问题
【发布时间】:2013-02-17 11:37:34
【问题描述】:

我正在使用 Gisgraphy 构建离线地理编码器。我正在使用他们网站上的说明 http://www.gisgraphy.com/documentation/installation/index.htm 。我遵循了所有步骤,但遇到了这些问题。 “附上错误日志”。

[INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 15 日 17:21:24,795] (main,) : normalize_text 函数产生异常:我们认为该函数未创建:org. springframework.jdbc.UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 15 日 17:21:24,806](主要,): normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 15 日 17:21:24,807](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [16 Feb 2013 17:52:04,415](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 17:52:04,444] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 17:52:04,444](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 18:01:37,016](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [16 Feb 2013 18:01:37,019] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 18:01:37,019](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [16 Feb 2013 21:00:07,242](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 21:00:07,245] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:00:07,245](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:02:13,228](main,):normalize_text 函数产生了异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 21:02:13,231] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:02:13,231](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:03:04,803](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 21:03:04,806] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:03:04,807](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [16 Feb 2013 21:03:56,037](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [16 Feb 2013 21:03:56,040] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:03:56,040](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:41:57,801](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 21:41:57,803] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 21:41:57,804](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 22:37:28,677](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 22:37:28,681] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 22:37:28,681](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 22:54:51,368](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 22:54:51,402] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 22:54:51,404](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [16 Feb 2013 22:56:42,733](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 22:56:42,736] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 22:56:42,737](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 23:04:54,523](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 16 日 23:04:54,527] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 16 日 23:04:54,528](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 15:40:14,049](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 17 日 15:40:14,090] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 15:40:14,090](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 15:40:55,009](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 17 日 15:40:55,012] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 15:40:55,013](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 16:26:34,452](main,):normalize_text 函数产生了异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 17 日 16:26:34,504] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 16:26:34,505](主要,):将创建 normalize_text 函数 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 16:31:32,448](main,):normalize_text 函数产生异常:我们认为该函数未创建:org.springframework.jdbc .UncategorizedSQLException:休眠操作:无法打开连接; SQL [???] 的未分类 SQLException; SQL 状态 [null];错误代码[0];无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败);嵌套异常是 org.apache.commons.dbcp.SQLNestedException:无法创建 PoolableConnectionFactory(致命:用户“postgres”的密码验证失败) [错误] [com.gisgraphy.domain.repository.DatabaseInitializer] [2013 年 2 月 17 日 16:31:32,450] (main,) : normalize_text 不存在,尝试创建它 [INFO] [com.gisgraphy.domain.repository.DatabaseHelper] [2013 年 2 月 17 日 16:31:32,451](主要,):将创建 normalize_text 函数

【问题讨论】:

  • FATAL: password authentication failed for user "postgres" 表示您为 postgres 提供的密码错误。你能用你在这里使用的用户名和密码登录到 postgres 吗?

标签: java solr geocoding reverse-geocoding


【解决方案1】:

您的 jdbc.properties 文件中可能包含错误字符。转到 Windows 中的命令行并点击“type jdbc.properties”,确认您没有放错位置的换行符或空格等。我遇到了这个确切的问题并修复了它。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-18
    • 1970-01-01
    • 1970-01-01
    • 2023-03-26
    • 1970-01-01
    相关资源
    最近更新 更多