无法创建JPA Facet:“无法找到”project facet jpt.jpa“ [英] Cannot create JPA Facet: "project facet jpt.jpa could not be found"

查看:1130
本文介绍了无法创建JPA Facet:“无法找到”project facet jpt.jpa“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Eclipse Java EE IDE for Web Developers中有一个maven项目。但是当我去启用JPA facet时,我不能选择JPA(没有JPA选项)。我忘记了一些依赖关系吗?





我已经安装了以下Maven依赖项:eclipslink-2.5.-RC1.jar,javax.persistence-2.0.0.jar和mysql-connector -java-5.1.9.jar。



我在我的项目中收到以下警告:


找不到项目facet jpt.jpa的实现。功能将受到限制。


更新:我已安装Dali Java持久性工具。



解决方案

JPA方面不依赖于您的pom.xml中的内容。检查以确保您安装了这些插件(以蓝色突出显示)。



帮助 - >安装新软件... - >已经安装了什么?





如果缺少可以在这里找到插件: http://www.eclipse.org/webtools/dali/



希望这有帮助!


I have a maven project in Eclipse Java EE IDE for Web Developers. But when I go enable JPA facet, I cannot choose JPA (there is no JPA option). Have I forgotten to include some dependency?

I've installed the following Maven dependencies: eclipslink-2.5.-RC1.jar, javax.persistence-2.0.0.jar, and mysql-connector-java-5.1.9.jar.

I get the following warning on my project:

Implementation of project facet jpt.jpa could not be found. Functionality will be limited.

UPDATE: I have the Dali Java Persistence Tools installed.

解决方案

The JPA facet is not dependent on what is in your pom.xml. Check to make sure you have these plugins installed (The ones highlighted in blue).

Help -> Install New Software... -> What is already installed?

If there missing you can find the plugin here: http://www.eclipse.org/webtools/dali/

Hope this helps!

这篇关于无法创建JPA Facet:“无法找到”project facet jpt.jpa“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆