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

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web2006

  • via Google Groups by Gustavo Bilert, 9 months ago
    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()
  • via Google Groups by Suraj Mundada, 1 year ago
    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()]]
  • 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()
  • 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:179) at com.avaje.ebean.Ebean$ServerManager.access$300(Ebean.java:130) at com.avaje.ebean.Ebean.getDefaultServer(Ebean.java:267) at com.avaje.ebean.dbmigration.DbMigration.setDefaults(DbMigration.java:462) at com.avaje.ebean.dbmigration.DbMigration.generateMigration(DbMigration.java:209)

    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 user
    Once, 1 year ago