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/