gpt4 book ai didi

java - WildFly 18.0.1 JDBC 驱动程序 : Internal error (newValue is null)

转载 作者:行者123 更新时间:2023-12-01 21:43:57 27 4
gpt4 key购买 nike

我在 WildFly (18.0.1) 中配置 JDBC 驱动程序时遇到问题。

每当我打开(配置/子系统/数据源和驱动程序/JDBC 驱动程序)时,

我得到:

Internal error (Details: newValue is null).

错误图像 1:

错误图像 2:

任何帮助将不胜感激!

最佳答案

这不是 wildfly/jboss 问题。该错误存在于 Hal 管理控制台(版本 3.2.1)中。我修复了这个错误,将 HAL 控制台版本更改为 3.2.4。

  1. 下载版本:
wget https://repository.jboss.org/nexus/content/repositories/ea/org/jboss/hal/hal-console/3.2.4.Final/hal-console-3.2.4.Final-resources.jar
  • 将jar文件复制到wildfly目录
  • sudo cp hal-console-3.2.4.Final-resources.jar /opt/wildfly/modules/system/layers/base/org/jboss/as/console/main/
  • 编辑文件 module.xml
  • sudo vim /opt/wildfly/modules/system/layers/base/org/jboss/as/console/main/module.xml
  • 更改文件 module.xml 中的版本
  •    <resources>
    <resource-root path="hal-console-3.2.4.Final-resources.jar"/>
    </resources>
  • 重新启动jboss/wildfly
  • sudo systemctl restart wildfly or sudo service wildfly restart

    关于java - WildFly 18.0.1 JDBC 驱动程序 : Internal error (newValue is null),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59076182/

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