The same thing was happening to me.
Here is what I did:
- Stoped the Glassfish server
- Deleted all the content from glassfishhome/glassfish/domains/yourdomainname/generated
- Started Glassfish
It worked for me. But what still sucks is that everytime I need to deploy I need to follow this procedure again…