找不到javax.persistence.AttributeConverter

时间:2015-06-13 13:51:42

标签: java

我有以下导入 import javax.persistence.AttributeConverter 并获得一个在Netbeans中找不到符号错误。 我有它搜索Maven,它找不到任何匹配的结果。

我的pom依赖是

<dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>persistence-api</artifactId>
    <version>1.0.2</version>
</dependency>
<dependency>>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>6.0</version>
    <type>jar</type>
</dependency>
<dependency>
    <groupId>org.glassfish</groupId>
    <artifactId>javax.persistence</artifactId>
    <version>3.0-b29</version>
</dependency>
<dependency>
    <groupId>org.apache.openjpa</groupId>
    <artifactId>openjpa-all</artifactId>
    <version>2.0.0</version>
</dependency>

0 个答案:

没有答案