在部署具有bundle
注释的javax.transaction.Transactional
Unsupported node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0
我不明白的是,捆绑包确实达到了Active
状态,甚至更奇怪的是交易是否有效(在出现错误的情况下回滚)
有关transaction
功能的相关信息:
feature:info transaction
Feature transaction 1.3.0
Description:
OSGi Transaction Manager
Details:
JTA implementation provided by Apache Aries Transaction
Feature configuration:
org.apache.aries.transaction
Feature has no configuration files
Feature depends on:
transaction-api [1.1,2)
Feature contains followed bundles:
mvn:org.apache.aries/org.apache.aries.util/1.1.1
mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.3.0
Feature contains followed conditionals:
Conditional(aries-blueprint) has no configuration
Conditional(aries-blueprint) has no configuration files
Conditional(aries-blueprint) has no dependencies.
Conditional(aries-blueprint) contains followed bundles:
mvn:org.apache.felix/org.apache.felix.coordinator/1.0.2
mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/2.1.0
非常感谢任何帮助
编辑1
执行service:list | grep namespace | grep -i transaction
会给出:
osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/transactions/v1.2.0
osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/transactions/v1.0.0
osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/transactions/v1.1.0
osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/transactions/v2.0.0
正如您所看到的,transactions/v2.0.0
编辑2
完整堆栈跟踪: http://pastebin.com/raw/HWUQVJhS
谢谢