---
title: "how to get jta "
author: "ronry"
date: "2011-05-18T16:57:04Z"
tags: []
categories: ["企业架构"]
slug: "how-to-get-jta"
draft: false
lastmod: "2011-05-18T16:57:04Z"
id: 1048681
url: "https://ronry.iteye.com/blog/1048681"
---

the solution is to download “Class Files 1.0.1B” from [http://www.oracle.com/technetwork/java/javaee/tech/jta-138684.html](http://www.oracle.com/technetwork/java/javaee/tech/jta-138684.html)

 and then do:

```
mvn install:install-file -Dfile=./jta-1_0_1B-classes.zip -DgroupId=javax.transaction -DartifactId=jta 
-Dversion=1.0.1B -Dpackaging=jar
```