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()

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Gustavo Bilert, 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()
via GitHub by yangjun
, 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()
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()
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.dbmigration.DbMigration.setDefaults(DbMigration.java:462)
at com.avaje.ebean.dbmigration.DbMigration.generateMigration(DbMigration.java:209)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.