Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Projeto com excessão

Não estou conseguindo executar o projeto pois a excessão

SilentExitExeption

é lançada.

Meu console está da seguinte forma:

2019-09-09 10:47:26.939  INFO 11876 --- [  restartedMain] br.com.alura.forum.ForumApplication      : Starting ForumApplication on U1_NCIDES01 with PID 11876 (D:\Pessoal\Java\projeto-inicial\forum\target\classes started by victoralmeida in D:\Pessoal\Java\projeto-inicial\forum)
2019-09-09 10:47:26.939  INFO 11876 --- [  restartedMain] br.com.alura.forum.ForumApplication      : No active profile set, falling back to default profiles: default
2019-09-09 10:47:26.986  INFO 11876 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2019-09-09 10:47:26.986  INFO 11876 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2019-09-09 10:47:27.814  INFO 11876 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-09-09 10:47:27.854  INFO 11876 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 30ms. Found 0 repository interfaces.
2019-09-09 10:47:28.306  INFO 11876 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$fb27e6e3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-09-09 10:47:29.057  INFO 11876 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2019-09-09 10:47:29.080  INFO 11876 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-09-09 10:47:29.080  INFO 11876 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.17]
2019-09-09 10:47:29.227  INFO 11876 --- [  restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-09-09 10:47:29.227  INFO 11876 --- [  restartedMain] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2241 ms
2019-09-09 10:47:29.494  INFO 11876 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2019-09-09 10:47:29.498  WARN 11876 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactoryBuilder' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactoryBuilder' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaVendorAdapter' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method 'jpaVendorAdapter' threw exception; nested exception is java.lang.RuntimeException: Driver org.h2.Driver claims to not accept jdbcUrl, jdba:h2:mem:alura-forum
2019-09-09 10:47:29.502  INFO 11876 --- [  restartedMain] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2019-09-09 10:47:29.512  INFO 11876 --- [  restartedMain] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-09-09 10:47:29.514 ERROR 11876 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/bo
1 resposta
solução!

Galera, desculpa. OP aqui. Descobri qual era o problema. No aplication.properties eu declarei

spring.datasource.url=jdba:h2:mem:alura-forum

e não

spring.datasource.url=jdbc:h2:mem:alura-forum

Eu troquei jdbc por jdba. Esse era o problema.