upgrade hyperjaxb3 to jpa 2.1
问题 I am trying to upgrade to JPA 2.1 in an eclipse project that uses maven, jpa, hibernate, and hyperjaxb. I am getting the following error when I try to do Run As..Run on Server from within eclipse: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index; I ran mvn dependency:tree on the root folder of the project and the problem seems to be that hyperjaxb3 is using JPA 2.0, which conflicts with JPA 2.1. Is there some way to get hyperjaxb3 to use JPA 2.1? Or is