Error happens when *root url* is null (which is a valid value):
``` log.debugf( "Unable to resolve class [%s] named in persistence unit [%s]", unresolvedListedClassName, scanEnvironment.getRootUrl().toExternalForm() ); ```
Stack trace:
``` Caused by: java.lang.NullPointerException at org.hibernate.boot.model.process.internal.ScanningCoordinator.applyScanResultsToManagedResources(ScanningCoordinator.java:274) at org.hibernate.boot.model.process.internal.ScanningCoordinator.coordinateScan(ScanningCoordinator.java:81) at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.prepare(MetadataBuildingProcess.java:98) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:228) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:163) at play.db.jpa.JPAPlugin.newEntityManagerFactory(JPAPlugin.java:202) at play.db.jpa.JPAPlugin.onApplicationStart(JPAPlugin.java:151) at play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:616) at play.Play.start(Play.java:541) ... 3 more ``` |
|