我从Wildfly中删除了ExampleDS。现在我无法部署我的应用程序,因为我遇到了这样的错误。有什么提示吗?

问题描述 投票:1回答:1

我从Wildfly中删除了ExampleDS。现在我无法部署我的应用程序,因为我遇到了这样的错误。 有小费吗?

“WFLYCTL0412:未安装所需的服务:”=> [“jboss.naming.context.java.jboss.datasources.ExampleDS”],“WFLYCTL0180:缺少/不可用依赖项的服务”=> [“jboss.naming.context缺少.java.module.WebJ2EE.WebJ2EE.DefaultDataSource [jboss.naming.context.java.jboss.datasources.ExampleDS]“]} 18:32:10,189 INFO [org.jboss.as.server](DeploymentScanner-threads - 2)WFLYSRV0010:已部署“WebJ2EE.war”(运行时名称:“WebJ2EE.war”)18:32:10,189 INFO [org.jboss.as.controller](DeploymentScanner-threads - 2)WFLYCTL0183:服务状态报告WFLYCTL0184:新的缺失/不满足的依赖项:service jboss.naming.context.java.jboss.datasources.ExampleDS(missing)dependents:[service jboss.naming.context.java.module.WebJ2EE.WebJ2EE.DefaultDataSource]

我使用Derby,wildfly11和eclipse。

eclipse java-ee wildfly derby
1个回答
2
投票

删除ExampleDS后,您必须更改配置文件standalone.xml。此文件中仍有对exampleDS的引用。

© www.soinside.com 2019 - 2024. All rights reserved.