java - Wildfly - 未安装的必需服务 - TransactionSynchronizationRegistry
问题描述
我正在尝试启用JTS
,但我的部署失败并显示以下消息:
2018-04-26 19:57:48,429 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 35) WFLYSRV0021: Deploy of deployment "my-app.war" was rolled back with the following failure message:
{
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.txn.TransactionSynchronizationRegistry",
"jboss.txn.TransactionManager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"my-app.war\".REGISTER is missing [jboss.txn.TransactionSynchronizationRegistry, jboss.txn.TransactionManager]"]
}
如何安装/启用这些服务?
我正在使用 Wildfly 12。
谢谢!
解决方案
推荐阅读
- list - Agda stdlib Vec 在对 List 执行 fromList 后最后调用
- api - How should the options.authority be set when the api and the identity server are hosted on the same server
- reactjs - 反应管理员访问数据网格行值
- java - JAVA 8 - 在使用泛型的用户定义类中实现 Comparable - Collections.sort() 不起作用
- python - 如何识别 Pandas 中仅包含元组的列?
- node.js - npm 卡住了为 repo 提取包依赖项
- c - 为什么我的这个代码的 malloced 版本会失败?
- mysql - 如何在 MySQL 5.X 中不启用 CASCADE DELETE 的情况下删除具有外键的表中的行
- vim - 在 Vim 中,是否可以添加和减去突出显示属性而不是覆盖它们?
- arrays - SQL Server binary(n) 作为 byte() 返回到 VB.NET - 如何在不先指定数组大小的情况下转换为 Int?