6
respostas

cdc-react-1.0.0-SNAPSHOT.jar não roda

Tentei rodar com java -jar mas dá este erro:

ce [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration
.class]: Invocation of init method failed; nested exception is org.hibernate.Hib
ernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.
dialect' not set
2017-02-11 14:16:11.574  INFO 7088 --- [           main] o.apache.catalina.core.
StandardService   : Stopping service Tomcat
2017-02-11 14:16:11.583 ERROR 7088 --- [           main] o.s.boot.SpringApplicat
ion               : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'entityManagerFactory' defined in class path resource [org/springframewor
k/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of
 init method failed; nested exception is org.hibernate.HibernateException: Acces
s to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[spring-be
ans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans
-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4
.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELE
ASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.4.RELEA
SE.jar!/:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:302) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEAS
E]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:197) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.getBea
n(AbstractApplicationContext.java:1054) ~[spring-context-4.2.4.RELEASE.jar!/:4.2
.4.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:829) ~[spring-context-
4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:538) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.
4.RELEASE]
        at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte
xt.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.1.RELEASE.j
ar!/:1.3.1.RELEASE]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.
java:764) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
        at org.springframework.boot.SpringApplication.doRun(SpringApplication.ja
va:357) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:305) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:1124) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:1113) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
        at br.com.caelum.cdcreact.Boot.main(Boot.java:10) [cdcreact-1.0.0-SNAPSH
OT.jar!/:1.0.0-SNAPSHOT]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.
0_121]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.
0_121]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:
1.8.0_121]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_121]
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner
.java:53) [cdcreact-1.0.0-SNAPSHOT.jar!/:1.0.0-SNAPSHOT]
        at java.lang.Thread.run(Unknown Source) [na:1.8.0_121]
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo can
not be null when 'hibernate.dialect' not set
        at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determi
neDialect(DialectFactoryImpl.java:104) ~[hibernate-core-4.3.11.Final.jar!/:4.3.1
1.Final]
        at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDi
alect(DialectFactoryImpl.java:71) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Fin
al]
        at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcSer
vicesImpl.java:205) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
        at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.conf
igureService(StandardServiceRegistryImpl.java:111) ~[hibernate-core-4.3.11.Final
.jar!/:4.3.11.Final]
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.initialize
Service(AbstractServiceRegistryImpl.java:234) ~[hibernate-core-4.3.11.Final.jar!
/:4.3.11.Final]
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService
(AbstractServiceRegistryImpl.java:206) ~[hibernate-core-4.3.11.Final.jar!/:4.3.1
1.Final]
        at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.
java:1887) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1845) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.per
form(EntityManagerFactoryBuilderImpl.java:857) ~[hibernate-entitymanager-4.3.11.
Final.jar!/:4.3.11.Final]
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.per
form(EntityManagerFactoryBuilderImpl.java:850) ~[hibernate-entitymanager-4.3.11.
Final.jar!/:4.3.11.Final]
        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceI
mpl.withTccl(ClassLoaderServiceImpl.java:425) ~[hibernate-core-4.3.11.Final.jar!
/:4.3.11.Final]
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build
(EntityManagerFactoryBuilderImpl.java:849) ~[hibernate-entitymanager-4.3.11.Fina
l.jar!/:4.3.11.Final]
        at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvi
der.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.ja
va:60) ~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.cr
eateNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPro
pertiesSet(AbstractEntityManagerFactoryBean.java:318) ~[spring-orm-4.2.4.RELEASE
.jar!/:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~[spring
-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-be
ans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        ... 22 common frames omitted

2017-02-11 14:16:11.593  INFO 7088 --- [           main] .b.l.ClasspathLoggingAp
plicationListener : Application failed to start with classpath: [jar:file:/C:/Us
ers/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/, jar:file:/C:/Users
/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter
-data-jpa-1.3.1.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdc
react-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-aop-1.3.1.RELEASE.jar!/, jar:f
ile:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring
-aop-4.2.4.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact
-1.0.0-SNAPSHOT.jar!/lib/aopalliance-1.0.jar!/, jar:file:/C:/Users/caioabe/Deskt
op/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/aspectjweaver-1.8.7.jar!/, jar:fi
le:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-
boot-starter-jdbc-1.3.1.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactA
lura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-jdbc-8.0.30.jar!/, jar:file:/C:/Use
rs/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-juli-8.0.3
0.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.j
ar!/lib/spring-jdbc-4.2.4.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reac
tAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/hibernate-entitymanager-4.3.11.Final.jar
!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/l
ib/jboss-logging-3.3.0.Final.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlur
a/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jboss-logging-annotations-1.2.0.Beta1.jar!/,
jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/h
ibernate-core-4.3.11.Final.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/
cdcreact-1.0.0-SNAPSHOT.jar!/lib/antlr-2.7.7.jar!/, jar:file:/C:/Users/caioabe/D
esktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jandex-1.1.0.Final.jar!/, jar
:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/dom4
j-1.6.1.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAP
SHOT.jar!/lib/xml-apis-1.0.b2.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlu
ra/cdcreact-1.0.0-SNAPSHOT.jar!/lib/hibernate-commons-annotations-4.0.5.Final.ja
r!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/
lib/hibernate-jpa-2.1-api-1.0.0.Final.jar!/, jar:file:/C:/Users/caioabe/Desktop/
reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/javassist-3.18.1-GA.jar!/, jar:file:
/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/javax.tran
saction-api-1.2.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.
0.0-SNAPSHOT.jar!/lib/spring-data-jpa-1.9.2.RELEASE.jar!/, jar:file:/C:/Users/ca
ioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-data-commons-1.
11.2.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0
-SNAPSHOT.jar!/lib/spring-orm-4.2.4.RELEASE.jar!/, jar:file:/C:/Users/caioabe/De
sktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-context-4.2.4.RELEASE.j
ar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!
/lib/spring-tx-4.2.4.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlur
a/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-beans-4.2.4.RELEASE.jar!/, jar:file:/C
:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/slf4j-api-1.
7.13.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHO
T.jar!/lib/jcl-over-slf4j-1.7.13.jar!/, jar:file:/C:/Users/caioabe/Desktop/react
Alura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-aspects-4.2.4.RELEASE.jar!/, jar:f
ile:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring
-boot-devtools-1.3.1.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlur
a/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-1.3.1.RELEASE.jar!/, jar:file:/C:
/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-a
utoconfigure-1.3.1.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/
cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-jasper-8.0.30.jar!/, jar:file:/C:/
Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-c
ore-8.0.30.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-S
NAPSHOT.jar!/lib/tomcat-embed-el-8.0.30.jar!/, jar:file:/C:/Users/caioabe/Deskto
p/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/ecj-4.4.2.jar!/, jar:file:/C:/User
s/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/mysql-connector-ja
va-5.1.38.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SN
APSHOT.jar!/lib/spring-boot-starter-1.3.1.RELEASE.jar!/, jar:file:/C:/Users/caio
abe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-logg
ing-1.3.1.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-
1.0.0-SNAPSHOT.jar!/lib/logback-classic-1.1.3.jar!/, jar:file:/C:/Users/caioabe/
Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/logback-core-1.1.3.jar!/, ja
r:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jul
-to-slf4j-1.7.13.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1
.0.0-SNAPSHOT.jar!/lib/log4j-over-slf4j-1.7.13.jar!/, jar:file:/C:/Users/caioabe
/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-core-4.2.4.RELEASE.j
ar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!
/lib/snakeyaml-1.16.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreac
t-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-web-1.3.1.RELEASE.jar!/, jar:file:
/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boo
t-starter-tomcat-1.3.1.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAl
ura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-logging-juli-8.0.30.jar!/, jar
:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomc
at-embed-websocket-8.0.30.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/c
dcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-validation-1.3.1.RELEASE.jar
!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/l
ib/hibernate-validator-5.2.2.Final.jar!/, jar:file:/C:/Users/caioabe/Desktop/rea
ctAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/validation-api-1.1.0.Final.jar!/, jar:f
ile:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/classm
ate-1.1.0.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SN
APSHOT.jar!/lib/jackson-databind-2.6.4.jar!/, jar:file:/C:/Users/caioabe/Desktop
/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jackson-annotations-2.6.4.jar!/, ja
r:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jac
kson-core-2.6.4.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.
0.0-SNAPSHOT.jar!/lib/spring-web-4.2.4.RELEASE.jar!/, jar:file:/C:/Users/caioabe
/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-webmvc-4.2.4.RELEASE
.jar!/, jar:file:/C:/Users/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.ja
r!/lib/spring-expression-4.2.4.RELEASE.jar!/, jar:file:/C:/Users/caioabe/Desktop
/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jstl-api-1.2.jar!/, jar:file:/C:/Us
ers/caioabe/Desktop/reactAlura/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jstl-impl-1.2.ja
r!/]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner
.java:53)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'entityManagerFactory' defined in class path resource [org/spr
ingframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: In
vocation of init method failed; nested exception is org.hibernate.HibernateExcep
tion: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' no
t set
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:197)
        at org.springframework.context.support.AbstractApplicationContext.getBea
n(AbstractApplicationContext.java:1054)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:829)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:538)
        at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte
xt.refresh(EmbeddedWebApplicationContext.java:118)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.
java:764)
        at org.springframework.boot.SpringApplication.doRun(SpringApplication.ja
va:357)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:305)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:1124)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:1113)
        at br.com.caelum.cdcreact.Boot.main(Boot.java:10)
        ... 6 more
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo can
not be null when 'hibernate.dialect' not set
        at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determi
neDialect(DialectFactoryImpl.java:104)
        at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDi
alect(DialectFactoryImpl.java:71)
        at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcSer
vicesImpl.java:205)
        at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.conf
igureService(StandardServiceRegistryImpl.java:111)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.initialize
Service(AbstractServiceRegistryImpl.java:234)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService
(AbstractServiceRegistryImpl.java:206)
        at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.
java:1887)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1845)
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.per
form(EntityManagerFactoryBuilderImpl.java:857)
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.per
form(EntityManagerFactoryBuilderImpl.java:850)
        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceI
mpl.withTccl(ClassLoaderServiceImpl.java:425)
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build
(EntityManagerFactoryBuilderImpl.java:849)
        at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvi
der.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.ja
va:60)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.cr
eateNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPro
pertiesSet(AbstractEntityManagerFactoryBean.java:318)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
        ... 22 more

C:\Users\caioabe\Desktop\reactAlura>
6 respostas

Opa, não dá para saber exatamente se é pq o banco está fora do ar ou se teve algum problema de acesso ao banco de dados. Caso o seu banco tenha senha, vc lembrou de configurar a senha? No exercício já tem dizendo inclusive como passar o parâmetro e tudo mais :).

Estou com o mesmo problema. No Mac.

 .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.3.1.RELEASE)

2017-03-09 13:51:57.300  INFO 5459 --- [           main] br.com.caelum.cdcreact.Boot              : Starting Boot v1.0.0-SNAPSHOT on MacBook-Pro-de-Macbook.local with PID 5459 (/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar started by francico in /Users/francico/Desktop/React-Biblioteca)
2017-03-09 13:51:57.304  INFO 5459 --- [           main] br.com.caelum.cdcreact.Boot              : No active profile set, falling back to default profiles: default
2017-03-09 13:51:57.350  INFO 5459 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2f62a25c: startup date [Thu Mar 09 13:51:57 AMT 2017]; root of context hierarchy
2017-03-09 13:51:58.065  INFO 5459 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
2017-03-09 13:51:58.485  INFO 5459 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$79671b02] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-09 13:51:58.880  INFO 5459 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2017-03-09 13:51:58.890  INFO 5459 --- [           main] o.apache.catalina.core.StandardService   : Starting service Tomcat
2017-03-09 13:51:58.891  INFO 5459 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.0.30
2017-03-09 13:51:59.850  INFO 5459 --- [ost-startStop-1] org.apache.jasper.servlet.TldScanner     : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-03-09 13:51:59.908  INFO 5459 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2017-03-09 13:51:59.908  INFO 5459 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2561 ms
2017-03-09 13:52:00.161  INFO 5459 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean        : Mapping servlet: 'dispatcherServlet' to [/]
2017-03-09 13:52:00.165  INFO 5459 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'characterEncodingFilter' to: [/*]
2017-03-09 13:52:00.165  INFO 5459 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2017-03-09 13:52:00.165  INFO 5459 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2017-03-09 13:52:00.165  INFO 5459 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'requestContextFilter' to: [/*]
2017-03-09 13:52:00.337  INFO 5459 --- [           main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-09 13:52:00.344  INFO 5459 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
    name: default
    ...]
2017-03-09 13:52:00.405  INFO 5459 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {4.3.11.Final}
2017-03-09 13:52:00.407  INFO 5459 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2017-03-09 13:52:00.408  INFO 5459 --- [           main] org.hibernate.cfg.Environment            : HHH000021: Bytecode provider name : javassist
2017-03-09 13:52:00.633  INFO 5459 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
Thu Mar 09 13:52:00 AMT 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
2017-03-09 13:52:00.884 ERROR 5459 --- [           main] o.a.tomcat.jdbc.pool.ConnectionPool      : Unable to create initial connections of pool.

java.sql.SQLException: Your password has expired. To log in you must change it using a client that supports expired passwords.
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1694) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1215) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2255) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2286) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2085) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_51]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_51]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_51]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[na:1.8.0_51]
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327) ~[mysql-connector-java-5.1.38.jar!/:5.1.38]
    at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:307) ~[tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:200) ~[tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:708) [tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:642) [tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:464) [tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:141) [tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:115) [tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:102) [tomcat-jdbc-8.0.30.jar!/:na]
    at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:126) [tomcat-jdbc-8.0.30.jar!/:na]
    at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:279) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:124) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857) [hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850) [hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425) [hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849) [hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
    at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60) [spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343) [spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318) [spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) [spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054) [spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:829) [spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) [spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:764) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:357) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1124) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1113) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at br.com.caelum.cdcreact.Boot.main(Boot.java:10) [cdcreact-1.0.0-SNAPSHOT.jar!/:1.0.0-SNAPSHOT]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [cdcreact-1.0.0-SNAPSHOT.jar!/:1.0.0-SNAPSHOT]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]

2017-03-09 13:52:00.886  WARN 5459 --- [           main] o.h.e.jdbc.internal.JdbcServicesImpl     : HHH000342: Could not obtain connection to query metadata : Your password has expired. To log in you must change it using a client that supports expired passwords.
2017-03-09 13:52:00.887  WARN 5459 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
2017-03-09 13:52:00.893  INFO 5459 --- [           main] o.apache.catalina.core.StandardService   : Stopping service Tomcat
2017-03-09 13:52:00.898 ERROR 5459 --- [           main] o.s.boot.SpringApplication               : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:829) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:764) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:357) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1124) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1113) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
    at br.com.caelum.cdcreact.Boot.main(Boot.java:10) [cdcreact-1.0.0-SNAPSHOT.jar!/:1.0.0-SNAPSHOT]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [cdcreact-1.0.0-SNAPSHOT.jar!/:1.0.0-SNAPSHOT]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
    at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:104) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:71) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:205) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857) ~[hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850) ~[hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849) ~[hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
    at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60) ~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343) ~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318) ~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
    ... 22 common frames omitted

2017-03-09 13:52:00.901  INFO 5459 --- [           main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-data-jpa-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-aop-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-aop-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/aopalliance-1.0.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/aspectjweaver-1.8.7.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-jdbc-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-jdbc-8.0.30.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-juli-8.0.30.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-jdbc-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/hibernate-entitymanager-4.3.11.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jboss-logging-3.3.0.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jboss-logging-annotations-1.2.0.Beta1.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/hibernate-core-4.3.11.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/antlr-2.7.7.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jandex-1.1.0.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/dom4j-1.6.1.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/xml-apis-1.0.b2.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/hibernate-commons-annotations-4.0.5.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/javassist-3.18.1-GA.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/javax.transaction-api-1.2.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-data-jpa-1.9.2.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-data-commons-1.11.2.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-orm-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-context-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-tx-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-beans-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/slf4j-api-1.7.13.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jcl-over-slf4j-1.7.13.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-aspects-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-devtools-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-autoconfigure-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-jasper-8.0.30.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-core-8.0.30.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-el-8.0.30.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/ecj-4.4.2.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/mysql-connector-java-5.1.38.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-logging-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/logback-classic-1.1.3.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/logback-core-1.1.3.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jul-to-slf4j-1.7.13.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/log4j-over-slf4j-1.7.13.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-core-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/snakeyaml-1.16.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-web-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-tomcat-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-logging-juli-8.0.30.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/tomcat-embed-websocket-8.0.30.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-boot-starter-validation-1.3.1.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/hibernate-validator-5.2.2.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/validation-api-1.1.0.Final.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/classmate-1.1.0.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jackson-databind-2.6.4.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jackson-annotations-2.6.4.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jackson-core-2.6.4.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-web-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-webmvc-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/spring-expression-4.2.4.RELEASE.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jstl-api-1.2.jar!/, jar:file:/Users/francico/Desktop/React-Biblioteca/cdcreact-1.0.0-SNAPSHOT.jar!/lib/jstl-impl-1.2.jar!/]
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:829)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:764)
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:357)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:305)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1124)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1113)
    at br.com.caelum.cdcreact.Boot.main(Boot.java:10)
    ... 6 more
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
    at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:104)
    at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:71)
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:205)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)
    at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849)
    at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60)
    at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
    at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
    ... 22 more

Uso o windows e aqui também exibia isso. Como utilizo o Wamp, consegui resolver adicionando à variável de ambiente a pasta bin/mysql/ de dentro do Wamp. E na chamada eu defini a senha vazia (""), pois é padrão do Wamp.

java -Dspring.datasource.password="" -jar cdcreact-1.0.0-SNAPSHOT.jar

Estou com o mesmo problema. Alguém conseguiu resolver?

Aparentemente está faltando a propriedade 'hibernate.dialect'. Será que nessa jar não tem ela configurada?

"Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set"

Galera eu tive o mesmo problema, porém vocês devem verificar três coisas:

Primeiro verificar se o serviço do MySQL está rodando na máquina de vcs.

Segundo se o mysql de vocês , o usuário root tem password, porque la no projeto do curso eles configuraram as Properties do jpa sendo o root sem password.

Terceiro se vcs estão tentando executar java -jar com o java 1.9, entao ele nao sobe o container da aplicação do Spring,

Eu tive o mesmo problema que vcs, tres coisas que vocês podem estar fazendo é :

1 -Pra quem usa linux pode estar subindo o serviço do mysq assim:

sudo service mysql start

1.1 - no windows, abre o cmd : services.msc Agora é só porcurar o serviço do mysql , botão direito sobre ele e start ou iniciar * Quem souber de outar forma como subir o serviço do mysql pelo cmd melhor ainda :).

2 - Pra quem não quiser remover a senha do root pode executar o jar, igual o amiguinho ali de cima escreveu

java -jar -Dspring.datasource.password="[sua_senha]" cdcreact-1.0.0-SNAPSHOT.jar

Agora quem quiser resetar a senha para nao prescisar passar o parametro -Dspring.datasource.password basta seguir os passos:

Remover a senha do root para poder fazer o curso,

  • Abram o terminal ou o cmd, e loguem no mysql com mysql -u root -p // aqui ele pede a senha do root

2.1 - Caso quem estiver com o mysql maior que a 5.7, a formade resetar a senha do root muda, as duas formas:

  • Pra quem tem a versão do MySQL menor que a 5.7 abra o terminal ou cmd, loguem no mysql e executem:

    use mysql;
    update user set password=password('') where user='root' and host='localhost';
    update user set plugin="mysql_native_password"; // define um antingo plugin do mysql usava para autenticar o usuario no banco
    flush privileges; 
    exit;
  • Pra quem tem a versão do MySQL maior ou igual a 5.7 abra o terminal ou cmd, loguem no mysql e executem

use mysql;
update user set authorization_string=password('') where user='root' and host='localhost'    
update user set plugin="mysql_native_password"; 
flush privileges;
exit;
  • *OBS: com a versao mais atualizada do mysql o campo password virou ' authorization_string'

2.2 - Outra coisa é pra quem nao tem acesso ao root entao mysql -u root -p não irá funcionar, neste caso vocês devem executar o mysql em modo que ele não peça a senha de autenticação, basta parar o serviço do mysql

  • No linux para parar o serviço

sudo service mysql stop

  • No windows para parar o serviço abra cmd e digite services.msc vá ate o mysql e aperte com o botao direito e parar

  • Agora é subir o mysql sem pedir autenticação, para isso abra dois terminais ou dois CMD'S

No primeiro terminal: mysqld_safe --skip-grant-tables &

No segundo terminal: mysql -u root , agora execute os comandos acima de reset da senha e pronto

  • No UNIX, Caso der um erro assim:
mysqld_safe Logging to '/var/log/mysql/error.log'.
mysqld_safe Logging to '/var/log/mysql/error.log'.
mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists.

Basta Executar o comando :

sudo mkdir -p /var/run/mysqld
sudo chown mysql:mysql /var/run/mysqld

3 - Pra quem utiliza Linux , e tem mais de 1 versão do java instalado basta entrar no terminal e:

./usr/bin/jvm/java-[versao menor ou igual a 8]/jre/java -jar "/home/[usuario]/[sua pasta]/cdc-react-1.0.0-SNAPSHOT.jar"

3.1 Agora pra quem tem windows eu não sei onde fica o caminho de instalação do java e o pacote da JRE, basta executar no caso do windows o java.exe dentro da pasta JRE pelo cmd, basta seguir a mesma coisa, se não me enganom , no caso de como executar ou os diretorios fico devendo :), mais deve ser algo parecido com:

cd c:/usuario/jvm/java[Versao 8]/jre
java -jar "cdc-react-1.0.0-SNAPSHOT.jar"

Desculpe por qualquer erro de digitação, espero ter ajudado alguém obrigada.

Muito obrigado Cleusa, setando a senha para vazio resolveu aqui pra mim.