{"action":"reopened","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1610","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1610/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1610/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1610/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/1610","id":88466130,"number":1610,"title":"Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.","user":{"login":"mraible","id":17892,"avatar_url":"https://avatars.githubusercontent.com/u/17892?v=3","gravatar_id":"","url":"https://api.github.com/users/mraible","html_url":"https://github.com/mraible","followers_url":"https://api.github.com/users/mraible/followers","following_url":"https://api.github.com/users/mraible/following{/other_user}","gists_url":"https://api.github.com/users/mraible/gists{/gist_id}","starred_url":"https://api.github.com/users/mraible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mraible/subscriptions","organizations_url":"https://api.github.com/users/mraible/orgs","repos_url":"https://api.github.com/users/mraible/repos","events_url":"https://api.github.com/users/mraible/events{/privacy}","received_events_url":"https://api.github.com/users/mraible/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-15T15:51:45Z","updated_at":"2015-06-15T22:51:30Z","closed_at":null,"body":"I created a new project last night that uses Gradle and PostgreSQL for its dev database. I was able to deploy it to Heroku and get it working fairly easily. This morning, I tried to run the app locally using \"./gradlew bootRun\". However, I get the following error on startup:\r\n\r\n```\r\nCaused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate \r\n[javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is \r\norg.springframework.beans.factory.BeanCreationException: \r\nCannot determine embedded database driver class for database type NONE. If you want \r\nan embedded database please put a supported one on the classpath.\r\n        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n```\r\n\r\nI've configured my application-dev.yml to have the proper settings from my local database, but it looks like this error might be caused by liquibase.\r\n\r\n```\r\nCaused by: org.springframework.beans.factory.UnsatisfiedDependencyException: \r\nError creating bean with name 'liquibase' defined in class path resource \r\n[org/jhipster/health/config/DatabaseConfiguration.class]: Unsatisfied \r\ndependency expressed through constructor argument with index 0 of type \r\n[javax.sql.DataSource]: : Error creating bean with name 'dataSource' \r\ndefined in class path resource [org/springframework/boot/autoconfigure/jdbc\r\n/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean \r\ninstantiation via factory method failed; nested exception is \r\norg.springframework.beans.BeanInstantiationException: Failed to instantiate \r\n[javax.sql.DataSource]: Factory method 'dataSource' threw exception; \r\nnested exception is org.springframework.beans.factory.BeanCreationException: \r\nCannot determine embedded database driver class for database type NONE. \r\nIf you want an embedded database please put a supported one on the \r\nclasspath.; nested exception is org.springframework.beans.factory.\r\nBeanCreationException: Error creating bean with name 'dataSource' \r\ndefined in class path resource [org/springframework/boot/autoconfigure\r\n/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: \r\nBean instantiation via factory method failed; nested exception is \r\norg.springframework.beans.BeanInstantiationException: Failed to instantiate \r\n[javax.sql.DataSource]: Factory method 'dataSource' threw exception; \r\nnested exception is org.springframework.beans.factory.BeanCreationException: \r\nCannot determine embedded database driver class for database type NONE. \r\nIf you want an embedded database please put a supported one on the classpath.\r\n```\r\n\r\nMy build.gradle seems to have the correct dependencies, though I'm not sure why it has h2:\r\n\r\n```\r\ncompile group: 'org.postgresql', name: 'postgresql', version: postgresql_version\r\n...\r\ntestCompile group: 'com.h2database', name: 'h2'\r\n```\r\n\r\nHere's the information I used to create the project:\r\n\r\n```\r\nJHipster Generator v2.16.0\r\n\r\n? (3/15) Do you want to use Java 8? Yes (use Java 8)\r\n? (4/15) Which *type* of authentication would you like to use? Token-based authentication (stateless, with a token)\r\n? (5/15) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL, Oracle)\r\n? (6/15) Which *production* database would you like to use? (Use arrow keys)\r\n? (6/15) Which *production* database would you like to use?\r\n? (6/15) Which *production* database would you like to use? PostgreSQL\r\n? (7/15) Which *development* database would you like to use? PostgreSQL\r\n? (8/15) Do you want to use Hibernate 2nd level cache? Yes, with ehcache (local cache, for a single node)\r\n? (9/15) Do you want to use a search engine in your application? Yes, with ElasticSearch\r\n? (10/15) Do you want to use clustered HTTP sessions? No\r\n? (11/15) Do you want to use WebSockets? Yes, with Spring Websocket\r\n? (12/15) Would you like to use Maven or Gradle for building the backend? Gradle\r\n? (13/15) Would you like to use Grunt or Gulp.js for building the frontend? Grunt (recommended)\r\n? (14/15) Would you like to use the Compass CSS Authoring Framework? No\r\n? (15/15) Would you like to enable translation support with Angular Translate? Yes\r\n```"}}