嗨,我正试图通过" Project Facets"来配置JPA 2.1。为什么我看不到" Hibernate 2.x"在选择JPA 2.1并进行进一步配置后,在plataform JPA Facet选择菜单中?
我有Eclipse Luna和JBoss Tools。
的Maven:
<javaee-api.version>7.0</javaee-api.version>
<hibernate-core.version>4.3.1.Final</hibernate-core.version>
<hibernate-entitymanager.version>4.3.1.Final</hibernate-entitymanager.version>
<!-- Java EE -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>${javaee-api.version}</version>
</dependency>
<!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate-core.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate-core.version}</version>
</dependency>
答案 0 :(得分:0)
解决。
您必须在Eclipse Market Red Hat Jboss Developer Studio(也是jboss工具)下安装