{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/play-java-ebean-example/issues/53","repository_url":"https://api.github.com/repos/playframework/play-java-ebean-example","labels_url":"https://api.github.com/repos/playframework/play-java-ebean-example/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/playframework/play-java-ebean-example/issues/53/comments","events_url":"https://api.github.com/repos/playframework/play-java-ebean-example/issues/53/events","html_url":"https://github.com/playframework/play-java-ebean-example/issues/53","id":261852907,"number":53,"title":"Ebean error in productive use","user":{"login":"jn-se","id":26557094,"avatar_url":"https://avatars2.githubusercontent.com/u/26557094?v=4","gravatar_id":"","url":"https://api.github.com/users/jn-se","html_url":"https://github.com/jn-se","followers_url":"https://api.github.com/users/jn-se/followers","following_url":"https://api.github.com/users/jn-se/following{/other_user}","gists_url":"https://api.github.com/users/jn-se/gists{/gist_id}","starred_url":"https://api.github.com/users/jn-se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jn-se/subscriptions","organizations_url":"https://api.github.com/users/jn-se/orgs","repos_url":"https://api.github.com/users/jn-se/repos","events_url":"https://api.github.com/users/jn-se/events{/privacy}","received_events_url":"https://api.github.com/users/jn-se/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-30T16:01:37Z","updated_at":"2017-10-04T16:46:05Z","closed_at":"2017-10-01T15:37:31Z","author_association":"NONE","body":"When the application is build with the dist command for productive use there is an exception during startup.\r\n\r\nThe only change that has been made was adding the \"play.http.secret.key\" to the application.conf.\r\n\r\nThis error is reproducable.\r\n\r\n```\r\n[info] application - Creating Pool for datasource 'default'\r\n[info] p.a.d.DefaultDBApi - Database [default] connected at jdbc:h2:mem:play\r\n[warn] o.h.v.m.ParameterMessageInterpolator - HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported\r\n[error] io.ebean.Ebean - Error trying to create the default EbeanServer\r\njava.lang.RuntimeException: DataSource user is null?\r\n\tat org.avaje.datasource.pool.ConnectionPool.<init>(ConnectionPool.java:204)\r\n\tat org.avaje.datasource.Factory.createPool(Factory.java:12)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.getDataSourceFromConfig(DefaultContainer.java:310)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.setDataSource(DefaultContainer.java:265)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:108)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:79)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:44)\r\n\tat io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:55)\r\n\tat io.ebean.Ebean$ServerManager.getWithCreate(Ebean.java:201)\r\n\tat io.ebean.Ebean$ServerManager.<init>(Ebean.java:159)\r\nOops, cannot start the server.\r\ncom.google.inject.CreationException: Unable to create injector, see the following errors:\r\n\r\n1) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at play.db.ebean.EbeanDynamicEvolutions.<init>(EbeanDynamicEvolutions.java:35)\r\n  at play.db.ebean.EbeanDynamicEvolutions.class(EbeanDynamicEvolutions.java:32)\r\n  while locating play.db.ebean.EbeanDynamicEvolutions\r\n  at play.db.ebean.EbeanModule.bindings(EbeanModule.java:21):\r\nBinding(class play.api.db.evolutions.DynamicEvolutions to ConstructionTarget(class play.db.ebean.EbeanDynamicEvolutions) eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1)\r\n  while locating play.api.db.evolutions.DynamicEvolutions\r\n  while locating play.api.db.evolutions.ApplicationEvolutionsProvider\r\n  at play.api.db.evolutions.EvolutionsModule.<init>(EvolutionsModule.scala:20):\r\nBinding(class play.api.db.evolutions.ApplicationEvolutions to ProviderConstructionTarget(class play.api.db.evolutions.ApplicationEvolutionsProvider) eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1)\r\n  while locating play.api.db.evolutions.ApplicationEvolutions\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:73)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.lambda$start$2(EbeanDynamicEvolutions.java:49)\r\n\tat java.util.HashMap.forEach(HashMap.java:1288)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.start(EbeanDynamicEvolutions.java:49)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.<init>(EbeanDynamicEvolutions.java:38)\r\n\tat play.db.ebean.EbeanDynamicEvolutions$$FastClassByGuice$$52c94231.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:404)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$2(Injector.scala:117)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:117)\r\n\tat play.api.db.evolutions.ApplicationEvolutionsProvider.get$lzycompute(EvolutionsModule.scala:49)\r\n\tat play.api.db.evolutions.ApplicationEvolutionsProvider.get(EvolutionsModule.scala:49)\r\n\tat play.api.db.evolutions.ApplicationEvolutionsProvider.get(EvolutionsModule.scala:40)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n2) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at play.db.ebean.EbeanDynamicEvolutions.<init>(EbeanDynamicEvolutions.java:35)\r\n  at play.db.ebean.EbeanDynamicEvolutions.class(EbeanDynamicEvolutions.java:32)\r\n  while locating play.db.ebean.EbeanDynamicEvolutions\r\n  at play.db.ebean.EbeanModule.bindings(EbeanModule.java:21):\r\nBinding(class play.api.db.evolutions.DynamicEvolutions to ConstructionTarget(class play.db.ebean.EbeanDynamicEvolutions) eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1)\r\n  while locating play.api.db.evolutions.DynamicEvolutions\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:73)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.lambda$start$2(EbeanDynamicEvolutions.java:49)\r\n\tat java.util.HashMap.forEach(HashMap.java:1288)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.start(EbeanDynamicEvolutions.java:49)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.<init>(EbeanDynamicEvolutions.java:38)\r\n\tat play.db.ebean.EbeanDynamicEvolutions$$FastClassByGuice$$52c94231.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n3) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at play.db.ebean.EbeanDynamicEvolutions.<init>(EbeanDynamicEvolutions.java:35)\r\n  at play.db.ebean.EbeanDynamicEvolutions.class(EbeanDynamicEvolutions.java:32)\r\n  while locating play.db.ebean.EbeanDynamicEvolutions\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:73)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.lambda$start$2(EbeanDynamicEvolutions.java:49)\r\n\tat java.util.HashMap.forEach(HashMap.java:1288)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.start(EbeanDynamicEvolutions.java:49)\r\n\tat play.db.ebean.EbeanDynamicEvolutions.<init>(EbeanDynamicEvolutions.java:38)\r\n\tat play.db.ebean.EbeanDynamicEvolutions$$FastClassByGuice$$52c94231.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n4) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at repository.CompanyRepository.<init>(CompanyRepository.java:25)\r\n  while locating repository.CompanyRepository\r\n    for the 3rd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\n  while locating play.api.Application\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat repository.CompanyRepository.<init>(CompanyRepository.java:26)\r\n\tat repository.CompanyRepository$$FastClassByGuice$$ad3179e3.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n5) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at repository.CompanyRepository.<init>(CompanyRepository.java:25)\r\n  while locating repository.CompanyRepository\r\n    for the 3rd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\n  while locating play.api.Application\r\n    for the 1st parameter of play.DefaultApplication.<init>(DefaultApplication.java:32)\r\n  at play.DefaultApplication.class(DefaultApplication.java:32)\r\n  while locating play.DefaultApplication\r\n  while locating play.Application\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat repository.CompanyRepository.<init>(CompanyRepository.java:26)\r\n\tat repository.CompanyRepository$$FastClassByGuice$$ad3179e3.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n6) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at repository.CompanyRepository.<init>(CompanyRepository.java:25)\r\n  while locating repository.CompanyRepository\r\n    for the 3rd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat repository.CompanyRepository.<init>(CompanyRepository.java:26)\r\n\tat repository.CompanyRepository$$FastClassByGuice$$ad3179e3.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n7) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at repository.CompanyRepository.<init>(CompanyRepository.java:25)\r\n  while locating repository.CompanyRepository\r\n    for the 3rd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\n  while locating play.api.Application\r\n    for the 1st parameter of play.DefaultApplication.<init>(DefaultApplication.java:32)\r\n  at play.DefaultApplication.class(DefaultApplication.java:32)\r\n  while locating play.DefaultApplication\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat repository.CompanyRepository.<init>(CompanyRepository.java:26)\r\n\tat repository.CompanyRepository$$FastClassByGuice$$ad3179e3.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n8) Error injecting constructor, java.lang.ExceptionInInitializerError\r\n  at repository.ComputerRepository.<init>(ComputerRepository.java:26)\r\n  while locating repository.ComputerRepository\r\n    for the 2nd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\n  while locating play.api.Application\r\nCaused by: java.lang.ExceptionInInitializerError\r\n\tat repository.ComputerRepository.<init>(ComputerRepository.java:27)\r\n\tat repository.ComputerRepository$$FastClassByGuice$$5c74da09.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\nCaused by: java.lang.RuntimeException: java.lang.RuntimeException: DataSource user is null?\r\n\tat io.ebean.Ebean$ServerManager.<init>(Ebean.java:164)\r\n\tat io.ebean.Ebean$ServerManager.<init>(Ebean.java:124)\r\n\tat io.ebean.Ebean.<clinit>(Ebean.java:118)\r\n\t... 64 more\r\nCaused by: java.lang.RuntimeException: DataSource user is null?\r\n\tat org.avaje.datasource.pool.ConnectionPool.<init>(ConnectionPool.java:204)\r\n\tat org.avaje.datasource.Factory.createPool(Factory.java:12)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.getDataSourceFromConfig(DefaultContainer.java:310)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.setDataSource(DefaultContainer.java:265)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:108)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:79)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:44)\r\n\tat io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:55)\r\n\tat io.ebean.Ebean$ServerManager.getWithCreate(Ebean.java:201)\r\n\tat io.ebean.Ebean$ServerManager.<init>(Ebean.java:159)\r\n\t... 66 more\r\n\r\n9) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at repository.ComputerRepository.<init>(ComputerRepository.java:26)\r\n  while locating repository.ComputerRepository\r\n    for the 2nd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\n  while locating play.api.Application\r\n    for the 1st parameter of play.DefaultApplication.<init>(DefaultApplication.java:32)\r\n  at play.DefaultApplication.class(DefaultApplication.java:32)\r\n  while locating play.DefaultApplication\r\n  while locating play.Application\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat repository.ComputerRepository.<init>(ComputerRepository.java:27)\r\n\tat repository.ComputerRepository$$FastClassByGuice$$5c74da09.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n10) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at repository.ComputerRepository.<init>(ComputerRepository.java:26)\r\n  while locating repository.ComputerRepository\r\n    for the 2nd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat repository.ComputerRepository.<init>(ComputerRepository.java:27)\r\n\tat repository.ComputerRepository$$FastClassByGuice$$5c74da09.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n11) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n  at repository.ComputerRepository.<init>(ComputerRepository.java:26)\r\n  while locating repository.ComputerRepository\r\n    for the 2nd parameter of controllers.HomeController.<init>(HomeController.java:32)\r\n  while locating controllers.HomeController\r\n    for the 2nd parameter of router.Routes.<init>(Routes.scala:31)\r\n  while locating router.Routes\r\n  while locating play.api.inject.RoutesProvider\r\n  while locating play.api.routing.Router\r\n    for the 1st parameter of play.api.http.JavaCompatibleHttpRequestHandler.<init>(HttpRequestHandler.scala:222)\r\n  while locating play.api.http.JavaCompatibleHttpRequestHandler\r\n  while locating play.api.http.HttpRequestHandler\r\n    for the 6th parameter of play.api.DefaultApplication.<init>(Application.scala:236)\r\n  at play.api.DefaultApplication.class(Application.scala:235)\r\n  while locating play.api.DefaultApplication\r\n  while locating play.api.Application\r\n    for the 1st parameter of play.DefaultApplication.<init>(DefaultApplication.java:32)\r\n  at play.DefaultApplication.class(DefaultApplication.java:32)\r\n  while locating play.DefaultApplication\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class io.ebean.Ebean\r\n\tat repository.ComputerRepository.<init>(ComputerRepository.java:27)\r\n\tat repository.ComputerRepository$$FastClassByGuice$$5c74da09.newInstance(<generated>)\r\n\tat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)\r\n\tat play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:409)\r\n\tat play.api.inject.ContextClassLoaderInjector.$anonfun$instanceOf$3(Injector.scala:118)\r\n\tat play.api.inject.ContextClassLoaderInjector.withContext(Injector.scala:126)\r\n\tat play.api.inject.ContextClassLoaderInjector.instanceOf(Injector.scala:118)\r\n\tat play.api.inject.RoutesProvider.$anonfun$get$2(BuiltinModule.scala:104)\r\n\tat scala.Option.fold(Option.scala:158)\r\n\tat play.api.inject.RoutesProvider.get$lzycompute(BuiltinModule.scala:104)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:100)\r\n\tat play.api.inject.RoutesProvider.get(BuiltinModule.scala:99)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)\r\n\tat com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)\r\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)\r\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\r\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\r\n\tat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)\r\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\n\tat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\n\tat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\n\tat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n\tat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n\tat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n\r\n11 errors\r\n\tat com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)\r\n\tat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)\r\n\tat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:99)\r\n\tat com.google.inject.Guice.createInjector(Guice.java:84)\r\n\tat play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)\r\n\tat play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)\r\n\tat play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n\tat play.core.server.ProdServerStart$.start(ProdServerStart.scala:50)\r\n\tat play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)\r\n\tat play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/playframework/play-java-ebean-example/issues/comments/334217899","html_url":"https://github.com/playframework/play-java-ebean-example/issues/53#issuecomment-334217899","issue_url":"https://api.github.com/repos/playframework/play-java-ebean-example/issues/53","id":334217899,"user":{"login":"steel97","id":7414151,"avatar_url":"https://avatars0.githubusercontent.com/u/7414151?v=4","gravatar_id":"","url":"https://api.github.com/users/steel97","html_url":"https://github.com/steel97","followers_url":"https://api.github.com/users/steel97/followers","following_url":"https://api.github.com/users/steel97/following{/other_user}","gists_url":"https://api.github.com/users/steel97/gists{/gist_id}","starred_url":"https://api.github.com/users/steel97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steel97/subscriptions","organizations_url":"https://api.github.com/users/steel97/orgs","repos_url":"https://api.github.com/users/steel97/repos","events_url":"https://api.github.com/users/steel97/events{/privacy}","received_events_url":"https://api.github.com/users/steel97/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T16:46:05Z","updated_at":"2017-10-04T16:46:05Z","author_association":"NONE","body":"Recently I had the same problem, _sbt update_ and then _sbt dist_ didn't helped, but when I changed part of logback.xml\r\nfrom\r\n`<root level=\"WARN\">\r\n    <appender-ref ref=\"ASYNCFILE\" />\r\n    <appender-ref ref=\"ASYNCSTDOUT\" />\r\n  </root>`\r\nto\r\n`<root level=\"WARN\">\r\n    <appender-ref ref=\"STDOUT\" />\r\n  </root>`\r\neverything worked fine. So as for now the only one solution working for me -  is disabling async logging and file logging\r\nI am using play 2.6.5 and play-ebean 4.0.3"}}
{"actor":{"display_login":"steel97"}}