无法创建JPA Facet:“无法找到”project facet jpt.jpa“ [英] Cannot create JPA Facet: "project facet jpt.jpa could not be found"
问题描述
我已经安装了以下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屋!