I have a small problem with the JPA entity classes, which I had removed and never used any more. I am using Netbeans and if I simply deleted or moved the entity classes, I had to struggle with this problem. There is an exception like "NoClassDefFound" and a message like: cannot find + name the already deleted entity classes. It never mind, because the application deploys normally. But it is still every time in the log of Glass Fish (every deployment the same...). Could you tell me please how to solve this issue? Where is the place, where are the references to the (old - removed) entity classes remaining?