You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Flavio Donzé (JIRA)" <ji...@apache.org> on 2015/08/17 13:29:45 UTC
[jira] [Created] (SM-2648) o.a.s.bundles.spring-tx should specify
the minimum version 1.2.0 for "javax.transaction" import
Flavio Donzé created SM-2648:
--------------------------------
Summary: o.a.s.bundles.spring-tx should specify the minimum version 1.2.0 for "javax.transaction" import
Key: SM-2648
URL: https://issues.apache.org/jira/browse/SM-2648
Project: ServiceMix
Issue Type: Bug
Components: bundles
Reporter: Flavio Donzé
The bundle "org.apache.servicemix.bundles.spring-tx" imports "javax.transaction" as follows:
javax.transaction,
javax.transaction.xa
Using Java 8 this causes problems since, java 8 provides it's own "javax.transaction" package. Same problem probably, having a "java.transaction" bundle below version 1.2.0 in your application.
Changing to one of the following would solve this issue:
javax.transaction;version="[1.2.0,2.0.0)";resolution:=optional,
javax.transaction.xa;version="[1.2.0,2.0.0)";resolution:=optional,
OR
javax.transaction;version="1.2.0";resolution:=optional,
javax.transaction.xa;version="1.2.0";resolution:=optional,
The bundles were downloaded from:
http://repo1.maven.org/maven2/org/apache/servicemix/bundles/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)