gpt4 book ai didi

java - JBAS010441 : Failed to load module for driver [org. postgresql]

转载 作者:行者123 更新时间:2023-11-29 12:57:44 31 4
gpt4 key购买 nike

ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 31) JBAS014613: Operation ("add") failed - address: ([    
("subsystem" => "datasources"),
("jdbc-driver" => "PostgresJDBCDriver")
]) - failure description: "JBAS010441: Failed to load module for driver [org.postgresql]"

我在运行服务器时遇到上述错误。我正在使用 JBoss 服务器。

最佳答案

我在 StackOverflow 上找到了答案:How to add PostgreSQL datasource to WildFly 9.0?

阅读以上链接后,我意识到我缺少 postgres 目录。然后我创建了目录:/postgres/main/ 在这里:$JBOSS_HOME/modules/org/postgres/main/ 并创建了 module.xml 文件。然后将 postgres 驱动程序复制并粘贴到同一目录。重新启动 JBoss,它应该可以正常工作。

关于java - JBAS010441 : Failed to load module for driver [org. postgresql],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38865910/

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