module.xml文件配置问题_白衣-程序员宅基地

技术标签: JBoss7/WildFly  jboss  module.xml  wildfly  

21:44:20,275 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "datasources"),
    ("data-source" => "mysqlDSPool")
]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.mysql"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.driver-demander.java:jboss/datasources/mysqlDS is missing [jboss.jdbc-driver.mysql]",
        "org.wildfly.data-source.mysqlDSPool is missing [jboss.jdbc-driver.mysql]"
    ]
}
21:44:20,279 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "datasources"),
    ("data-source" => "mysqlDSPool")
]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.jdbc-driver.mysql",
        "jboss.jdbc-driver.mysql"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.driver-demander.java:jboss/datasources/mysqlDS is missing [jboss.jdbc-driver.mysql]",
        "org.wildfly.data-source.mysqlDSPool is missing [jboss.jdbc-driver.mysql]",
        "org.wildfly.data-source.mysqlDSPool is missing [jboss.jdbc-driver.mysql]"
    ]
}



错误的解决办法:

找到响应module.xml,

<module xmlns="urn:jboss:module:1.1" name="com.mysql" >


添加如下代码片段:

slot="main"


::

<module xmlns="urn:jboss:module:1.1" name="com.mysql"  slot="main">




版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/timo1160139211/article/details/71189424

智能推荐

随便推点