Eclipse Kepler JPA errors

妖精的绣舞 提交于 2019-12-23 08:35:49

问题


I've installed Eclipse Kepler (Build id: 20130614-0229). When I try to compile my projects I have tons of JPA related errors. I'm guessing they come from the Dali Java Persistence Tools plug-in, which I can see in the plug-ins list (version 3.3.1).

My questions are:

1) any idea if there is a well known issue with this version of Eclipse/Dali? I'm not only getting errors in my own code, but also in open source projects that should be correct, for example odata4j-examples: Duplicate entity name "Employees" found in the persistence unit. Entity names must be unique. Employees.java /odata4j-examples/src/main/java/org/odata4j/examples/producer/jpa/addressbook line 10 JPA Problem

2) is there a way to disable JPA errors altogether? Browsing on the net I found many people pointing to Eclipse > Preferences > Java Persistence, but I don't have any menu called "Java Persistence" or "JPA".

Many thanks!


回答1:


You can go to Window -> Preferences -> Validation Uncheck 'Suspend all validators' if needed Uncheck JPA validator



来源:https://stackoverflow.com/questions/19422649/eclipse-kepler-jpa-errors

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!