gpt4 book ai didi

tomcat - tomcat 上的架构错误

转载 作者:行者123 更新时间:2023-11-28 23:48:04 50 4
gpt4 key购买 nike

我有一个 tomcat 7 服务器和一个 postgreSQL 9.0 数据库。我用它来为地理网络元数据编辑器设置开发环境。一切都是根据 geonetwork 网站教程设置的。我在将服务器与数据库连接时遇到问题。我已经设置了一个默认架构并且我的所有设置(我认为)都很好)。这是我收到的错误:

Raised exception while starting appl handler. Skipped.
Exception org.postgresql.util.PSQLException:
ERROR: no schema has been selected to create in
Message ERROR: no schema has been selected to create in

最佳答案

导致此错误的一种方法是设置错误的 search_path。由于它会在搜索路径上的第一个有效模式中创建表,因此空路径(或仅包含不存在的模式名称或您没有创建权限的模式名称)将导致此错误。

test=# set search_path = some_nonexistent_schema_name;SETtest=# create table w (id int);ERROR:  no schema has been selected to create in

如果您同时显示您的 search_path 值和失败语句,将会有所帮助。

关于tomcat - tomcat 上的架构错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11845764/

50 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com