Skip to content

Instantly share code, notes, and snippets.

@dschulz
Created May 1, 2016 17:59
Show Gist options
  • Save dschulz/0e1b3a0d5d5abf4d6aaea0099ab6e161 to your computer and use it in GitHub Desktop.
Save dschulz/0e1b3a0d5d5abf4d6aaea0099ab6e161 to your computer and use it in GitHub Desktop.
dschulz@Diegos-MacBook-Pro:~/IdeaProjects/logistica$ java -jar build/libs/logistica-0.0.1-SNAPSHOT.jar
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.0.BUILD-SNAPSHOT)
2016-05-01 13:28:16.420 INFO 932 --- [ main] com.dschulz.LogisticaApplication : Starting LogisticaApplication on Diegos-MacBook-Pro.local with PID 932 (started by dschulz in /Users/dschulz/IdeaProjects/logistica)
2016-05-01 13:28:16.429 INFO 932 --- [ main] com.dschulz.LogisticaApplication : No active profile set, falling back to default profiles: default
2016-05-01 13:28:16.728 INFO 932 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5a2e4553: startup date [Sun May 01 13:28:16 PYT 2016]; root of context hierarchy
2016-05-01 13:28:17.614 INFO 932 --- [ 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]]
2016-05-01 13:28:18.147 INFO 932 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b3b6ea] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-05-01 13:28:18.580 INFO 932 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2016-05-01 13:28:18.590 INFO 932 --- [ main] o.apache.catalina.core.StandardService : Starting service Tomcat
2016-05-01 13:28:18.591 INFO 932 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.33
2016-05-01 13:28:18.674 INFO 932 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2016-05-01 13:28:18.674 INFO 932 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1949 ms
2016-05-01 13:28:19.067 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricFilter' to: [/*]
2016-05-01 13:28:19.068 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2016-05-01 13:28:19.068 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-05-01 13:28:19.068 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-05-01 13:28:19.068 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2016-05-01 13:28:19.069 INFO 932 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/*]
2016-05-01 13:28:19.069 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*]
2016-05-01 13:28:19.069 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
2016-05-01 13:28:19.069 INFO 932 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2016-05-01 13:28:19.446 INFO 932 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/css/**'], Ant [pattern='/js/**'], Ant [pattern='/images/**'], Ant [pattern='/**/favicon.ico'], Ant [pattern='/error']]], []
2016-05-01 13:28:19.556 INFO 932 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@14f4b330, org.springframework.security.web.context.SecurityContextPersistenceFilter@65ee8071, org.springframework.security.web.header.HeaderWriterFilter@42a88835, org.springframework.security.web.csrf.CsrfFilter@1db1b245, org.springframework.security.web.authentication.logout.LogoutFilter@4ecf3321, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@697c68e9, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@5810ee01, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4ddc1b8e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5935364, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3174e7ad, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@43170b8e, org.springframework.security.web.session.SessionManagementFilter@7e587a56, org.springframework.security.web.access.ExceptionTranslationFilter@627d234a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@48cf34d]
2016-05-01 13:28:19.563 INFO 932 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.boot.actuate.autoconfigure.ManagementWebSecurityAutoConfiguration$LazyEndpointPathRequestMatcher@5e5e98ab, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@c186c8f, org.springframework.security.web.context.SecurityContextPersistenceFilter@27f26008, org.springframework.security.web.header.HeaderWriterFilter@71cfb8e5, org.springframework.security.web.authentication.logout.LogoutFilter@e77ff39, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1f54dca7, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4df9dd92, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@41fd5c58, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@277841f3, org.springframework.security.web.session.SessionManagementFilter@6c347e20, org.springframework.security.web.access.ExceptionTranslationFilter@6f20b83c, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@12f73788]
2016-05-01 13:28:19.743 WARN 932 --- [ 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 javax.persistence.PersistenceException: Unable to resolve persistence unit root URL
2016-05-01 13:28:19.746 INFO 932 --- [ main] o.apache.catalina.core.StandardService : Stopping service Tomcat
2016-05-01 13:28:19.755 WARN 932 --- [ main] o.s.boot.SpringApplication : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: 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 org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' is defined)
2016-05-01 13:28:19.765 ERROR 932 --- [ 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 javax.persistence.PersistenceException: Unable to resolve persistence unit root URL
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076) ~[spring-context-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851) ~[spring-context-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) ~[spring-context-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.0.BUILD-SNAPSHOT.jar!/:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:765) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar!/:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar!/:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar!/:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1182) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar!/:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1171) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar!/:1.4.0.BUILD-SNAPSHOT]
at com.dschulz.LogisticaApplication.main(LogisticaApplication.java:12) [classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_92]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_92]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_92]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [logistica-0.0.1-SNAPSHOT.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [logistica-0.0.1-SNAPSHOT.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [logistica-0.0.1-SNAPSHOT.jar:na]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58) [logistica-0.0.1-SNAPSHOT.jar:na]
Caused by: javax.persistence.PersistenceException: Unable to resolve persistence unit root URL
at org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager.determineDefaultPersistenceUnitRootUrl(DefaultPersistenceUnitManager.java:591) ~[spring-orm-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager.preparePersistenceUnitInfos(DefaultPersistenceUnitManager.java:443) ~[spring-orm-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager.afterPropertiesSet(DefaultPersistenceUnitManager.java:424) ~[spring-orm-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:310) ~[spring-orm-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:373) ~[spring-orm-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:362) ~[spring-orm-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
... 24 common frames omitted
Caused by: java.io.FileNotFoundException: class path resource [] cannot be resolved to URL because it does not exist
at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:187) ~[spring-core-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
at org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager.determineDefaultPersistenceUnitRootUrl(DefaultPersistenceUnitManager.java:588) ~[spring-orm-4.3.0.BUILD-SNAPSHOT.jar!/:4.3.0.BUILD-SNAPSHOT]
... 31 common frames omitted
dschulz@Diegos-MacBook-Pro:~/IdeaProjects/logistica$ ./gradlew clean build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment