Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

X cannot be added because it is already mapped to the entities. X entity class and the entity is not in current project source

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 :

enter image description here

Any idea? I'm using NetBeans 7.3 with Glassfish 3.1.2.

like image 753
Rob Avatar asked Jan 18 '14 17:01

Rob


1 Answers

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.

like image 92
Lawrence Wong Avatar answered Oct 30 '22 11:10

Lawrence Wong