It happenes when the entity manager is trying to point to many persistence units. Do the following steps:
- open the related file in your editor (provided your project has been closed in your IDE)
- delete all the persistence and entity manager related code
- save the file
- open the project in your IDE
- now bind the db or table of your choice