javax.persistence.PersistenceException

The default EbeanServer has not been defined? This is normally set via the ebean.datasource.default property. Otherwise it should be registered programmatically via registerServer()

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via Unknown by Gustavo Bilert,
  • Stack trace

    • javax.persistence.PersistenceException: The default EbeanServer has not been defined? This is normally set via the ebean.datasource.default property. Otherwise it should be registered programmatically via registerServer() at com.avaje.ebean.Ebean$ServerManager.getDefaultServer(Ebean.java:182) at com.avaje.ebean.Ebean$ServerManager.access$300(Ebean.java:133) at com.avaje.ebean.Ebean.getDefaultServer(Ebean.java:270) at com.avaje.ebean.Model.db(Model.java:154) at org.demo.impl.UserServiceImpl.lambda$find$0(UserServiceImpl.java:24)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,