{"action":"created","issue":{"url":"https://api.github.com/repos/kaitannmatthey/task-manager-web/issues/1","repository_url":"https://api.github.com/repos/kaitannmatthey/task-manager-web","labels_url":"https://api.github.com/repos/kaitannmatthey/task-manager-web/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kaitannmatthey/task-manager-web/issues/1/comments","events_url":"https://api.github.com/repos/kaitannmatthey/task-manager-web/issues/1/events","html_url":"https://github.com/kaitannmatthey/task-manager-web/issues/1","id":526948653,"node_id":"MDU6SXNzdWU1MjY5NDg2NTM=","number":1,"title":"Application doesn't start","user":{"login":"ndrone","id":7432362,"node_id":"MDQ6VXNlcjc0MzIzNjI=","avatar_url":"https://avatars2.githubusercontent.com/u/7432362?v=4","gravatar_id":"","url":"https://api.github.com/users/ndrone","html_url":"https://github.com/ndrone","followers_url":"https://api.github.com/users/ndrone/followers","following_url":"https://api.github.com/users/ndrone/following{/other_user}","gists_url":"https://api.github.com/users/ndrone/gists{/gist_id}","starred_url":"https://api.github.com/users/ndrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndrone/subscriptions","organizations_url":"https://api.github.com/users/ndrone/orgs","repos_url":"https://api.github.com/users/ndrone/repos","events_url":"https://api.github.com/users/ndrone/events{/privacy}","received_events_url":"https://api.github.com/users/ndrone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"kaitannmatthey","id":34690466,"node_id":"MDQ6VXNlcjM0NjkwNDY2","avatar_url":"https://avatars0.githubusercontent.com/u/34690466?v=4","gravatar_id":"","url":"https://api.github.com/users/kaitannmatthey","html_url":"https://github.com/kaitannmatthey","followers_url":"https://api.github.com/users/kaitannmatthey/followers","following_url":"https://api.github.com/users/kaitannmatthey/following{/other_user}","gists_url":"https://api.github.com/users/kaitannmatthey/gists{/gist_id}","starred_url":"https://api.github.com/users/kaitannmatthey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaitannmatthey/subscriptions","organizations_url":"https://api.github.com/users/kaitannmatthey/orgs","repos_url":"https://api.github.com/users/kaitannmatthey/repos","events_url":"https://api.github.com/users/kaitannmatthey/events{/privacy}","received_events_url":"https://api.github.com/users/kaitannmatthey/received_events","type":"User","site_admin":false},"assignees":[{"login":"kaitannmatthey","id":34690466,"node_id":"MDQ6VXNlcjM0NjkwNDY2","avatar_url":"https://avatars0.githubusercontent.com/u/34690466?v=4","gravatar_id":"","url":"https://api.github.com/users/kaitannmatthey","html_url":"https://github.com/kaitannmatthey","followers_url":"https://api.github.com/users/kaitannmatthey/followers","following_url":"https://api.github.com/users/kaitannmatthey/following{/other_user}","gists_url":"https://api.github.com/users/kaitannmatthey/gists{/gist_id}","starred_url":"https://api.github.com/users/kaitannmatthey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaitannmatthey/subscriptions","organizations_url":"https://api.github.com/users/kaitannmatthey/orgs","repos_url":"https://api.github.com/users/kaitannmatthey/repos","events_url":"https://api.github.com/users/kaitannmatthey/events{/privacy}","received_events_url":"https://api.github.com/users/kaitannmatthey/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2019-11-22T02:24:23Z","updated_at":"2019-12-02T18:20:13Z","closed_at":"2019-12-02T18:20:13Z","author_association":"NONE","body":"When trying to start the application I getting the following:\r\n\r\n```\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1803) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1108) ~[spring-context-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:868) ~[spring-context-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) ~[spring-boot-2.2.1.RELEASE.jar:2.2.1.RELEASE]\r\n\tat com.taskmanager.TaskManagerWebApplication.main(TaskManagerWebApplication.java:10) ~[classes/:na]\r\nCaused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]\r\n\tat org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:175) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:118) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1214) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1245) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58) ~[spring-orm-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:391) ~[spring-orm-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:378) ~[spring-orm-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1799) ~[spring-beans-5.2.1.RELEASE.jar:5.2.1.RELEASE]\r\n\t... 16 common frames omitted\r\nCaused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set\r\n\tat org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:100) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:54) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:137) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\tat org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) ~[hibernate-core-5.4.8.Final.jar:5.4.8.Final]\r\n\t... 33 common frames omitted\r\n```\r\nThe most important piece of the stack trace is\r\n```\r\nCaused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set\r\n```\r\nThis can be set via `spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect` in the `application.properties`  I found that property here https://docs.spring.io/spring-boot/docs/1.5.10.RELEASE/reference/html/common-application-properties.html and looking at the jpa properties I found this `spring.jpa.properties.*= # Additional native properties to set on the JPA provider.` "},"comment":{"url":"https://api.github.com/repos/kaitannmatthey/task-manager-web/issues/comments/560517297","html_url":"https://github.com/kaitannmatthey/task-manager-web/issues/1#issuecomment-560517297","issue_url":"https://api.github.com/repos/kaitannmatthey/task-manager-web/issues/1","id":560517297,"node_id":"MDEyOklzc3VlQ29tbWVudDU2MDUxNzI5Nw==","user":{"login":"kaitannmatthey","id":34690466,"node_id":"MDQ6VXNlcjM0NjkwNDY2","avatar_url":"https://avatars0.githubusercontent.com/u/34690466?v=4","gravatar_id":"","url":"https://api.github.com/users/kaitannmatthey","html_url":"https://github.com/kaitannmatthey","followers_url":"https://api.github.com/users/kaitannmatthey/followers","following_url":"https://api.github.com/users/kaitannmatthey/following{/other_user}","gists_url":"https://api.github.com/users/kaitannmatthey/gists{/gist_id}","starred_url":"https://api.github.com/users/kaitannmatthey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaitannmatthey/subscriptions","organizations_url":"https://api.github.com/users/kaitannmatthey/orgs","repos_url":"https://api.github.com/users/kaitannmatthey/repos","events_url":"https://api.github.com/users/kaitannmatthey/events{/privacy}","received_events_url":"https://api.github.com/users/kaitannmatthey/received_events","type":"User","site_admin":false},"created_at":"2019-12-02T18:20:13Z","updated_at":"2019-12-02T18:20:13Z","author_association":"OWNER","body":"Thanks @ndrone that was definitely the issue. Plus, I had to get rid of some things I added to my dependencies that I got from stack overflow. "}}
{"actor":{"display_login":"kaitannmatthey"}}