1
resposta

Erro ao executar o comando java -jar server.jar

Gabriels-MacBook-Pro:server gabrielsantos$ sudo java -jar server.jar Password:

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

2019-09-18 22:06:41.960 INFO 5488 --- [ main] br.com.caelum.alura.Application : Starting Application v0.0.1-SNAPSHOT on Gabriels-MacBook-Pro.local with PID 5488 (/Users/gabrielsantos/Desktop/server/server.jar started by root in /Users/gabrielsantos/Desktop/server) 2019-09-18 22:06:41.967 INFO 5488 --- [ main] br.com.caelum.alura.Application : No active profile set, falling back to default profiles: default 2019-09-18 22:06:42.174 INFO 5488 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3dd4520b: startup date [Wed Sep 18 22:06:42 BRT 2019]; 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/gabrielsantos/Desktop/server/server.jar!/lib/spring-core-4.2.7.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 2019-09-18 22:06:45.379 INFO 5488 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-09-18 22:06:45.465 INFO 5488 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'appConfig' of type [class br.com.caelum.alura.config.AppConfig$$EnhancerBySpringCGLIB$$47ca6fea] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-09-18 22:06:45.476 INFO 5488 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 2019-09-18 22:06:45.852 INFO 5488 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ae302ef3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-09-18 22:06:46.013 WARN 5488 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'embeddedServletContainerCustomizerBeanPostProcessor': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut services 2019-09-18 22:06:46.046 ERROR 5488 --- [ main] o.s.boot.SpringApplication : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'embeddedServletContainerCustomizerBeanPostProcessor': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut services at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBean

1 resposta

Oi Gabriel, tudo bem ?

Cara eu vi que sua dúvida é um pouco antiga, será que tu já resolveu ? Se sim pode compartilhar conosco ?