X无法添加,因为它已映射到实体。 X实体类和实体不在当前项目源中 [英] X cannot be added because it is already mapped to the entities. X entity class and the entity is not in current project source
本文介绍了X无法添加,因为它已映射到实体。 X实体类和实体不在当前项目源中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建一个新的NetBeans EE企业应用程序,并且当我尝试从数据库(客户来自示例数据库)创建实体类时,由于此错误,我无法选择它:
有什么想法?我在NetBeans 7.3中使用了Glassfish 3.1.2。
解决方案
在Google搜索最近几个小时后,我找到了答案。
删除以下缓存文件夹:
C:\Users\yourusername\AppData\Local\NetBeans\Cache
它解决了我的问题。
I'm creating a new NetBeans EE Enterprise Application, and when I try to create Entity classes from database (Customer from the sample database), I can't select it because of this error :
Any idea? I'm using NetBeans 7.3 with Glassfish 3.1.2.
解决方案
I found the answer after spending the last few hours searching in Google. Delete the cache folder in the following
C:\Users\yourusername\AppData\Local\NetBeans\Cache
It solved the problem for me.
这篇关于X无法添加,因为它已映射到实体。 X实体类和实体不在当前项目源中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文