Olá. Estou tentando rodar a api no Mac, porém sempre retorna esse erro, parece que é alguma coisa com o Spring, mas não entendo de java fiquei meio empacado para resolver esse problema. O MySql já está instalado, sem senha e com acesso para todos os usuários.
Obs: Não deu para colocar tudo porque o campo de dúvida tem limitação de caracteres, então coloquei só a parte principal onde acusa os erros.
workstation:instalura matheusgrilo$ java -jar instalura.jar
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.1.RELEASE)
2017-10-19 16:42:15.587 INFO 3347 --- [ main] br.com.alura.instalura.Boot : Starting Boot v1.0.0-SNAPSHOT on workstation.local with PID 3347 (/Users/matheusgrilo/Google Drive/Projetos/Estudo/instalura/instalura.jar started by matheusgrilo in /Users/matheusgrilo/Google Drive/Projetos/Estudo/instalura)
2017-10-19 16:42:15.593 INFO 3347 --- [ main] br.com.alura.instalura.Boot : No active profile set, falling back to default profiles: default
2017-10-19 16:42:15.754 INFO 3347 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5fe94a96: startup date [Thu Oct 19 16:42:15 BRST 2017]; root of context hierarchy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/Users/matheusgrilo/Google%20Drive/Projetos/Estudo/instalura/instalura.jar!/BOOT-INF/lib/spring-core-4.3.3.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2017-10-19 16:42:18.735 INFO 3347 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$460f2d39] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-10-19 16:42:18.924 WARN 3347 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.HttpEncodingAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.http.encoding-org.springframework.boot.autoconfigure.web.HttpEncodingProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
2017-10-19 16:42:18.941 ERROR 3347 --- [ main] o.s.boot.SpringApplication : Application startup failed