Hi guys, I wanted to know if any has seen a problem like this before.
I'm using Play Framework (2.6.11) with Play-Ebean from payintech (https://github.com/payintech/play-ebean) version 18.01 (Ebean 11.7.1).
I'm deploying on Heroku and last night after Heroku's daily restart, I started getting the error of "Model is NOT an Entity Bean registered with this Server"
The application was working just fine before the restart. I tried restarting it again a few times, but was not able to fix the issue. I decided to try and rebuild the application (git push heroku master) and after that, everything was ok. Seems that between restarts something went wrong.
Has anyone experienced something like this?
javax.persistence.PersistenceException: <ModelName> is NOT an Entity Bean registered with this server?
at io.ebeaninternal.server.core.DefaultServer.createQuery(DefaultServer.java:1046)
at io.ebeaninternal.server.core.DefaultServer.find(DefaultServer.java:1002)
at io.ebean.Finder.query(Finder.java:196)