Advertisement
Guest User

Untitled

a guest
May 24th, 2018
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.01 KB | None | 0 0
  1. $ gradle bootRun
  2.  
  3. > Task :bootRun
  4.  
  5. . ____ _ __ _ _
  6. /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
  7. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  8. \\/ ___)| |_)| | | | | || (_| | ) ) ) )
  9. ' |____| .__|_| |_|_| |_\__, | / / / /
  10. =========|_|==============|___/=/_/_/_/
  11. :: Spring Boot :: (v2.0.1.RELEASE)
  12.  
  13. 2018-05-24 10:43:57.464 INFO 37829 --- [ main] ee.andmevara.pit.PitApplication : Starting PitApplication on Thunder.local with PID 37829 (/Users/andreluts/Desktop/pit/build/classes/java/main started by andreluts in /Users/andreluts/Desktop/pit)
  14. 2018-05-24 10:43:57.471 DEBUG 37829 --- [ main] ee.andmevara.pit.PitApplication : Running with Spring Boot v2.0.1.RELEASE, Spring v5.0.5.RELEASE
  15. 2018-05-24 10:43:57.472 INFO 37829 --- [ main] ee.andmevara.pit.PitApplication : The following profiles are active: dev
  16. WARNING: An illegal reflective access operation has occurred
  17. WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/andreluts/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/2.4.15/74b7e0b99526c569e3a59cb84dbcc6204d601ee6/groovy-2.4.15.jar) to method java.lang.Object.finalize()
  18. WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
  19. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  20. WARNING: All illegal access operations will be denied in a future release
  21. 2018-05-24 10:43:57.841 INFO 37829 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@57a3e26a: startup date [Thu May 24 10:43:57 EEST 2018]; root of context hierarchy
  22. 2018-05-24 10:43:59.271 INFO 37829 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'userService' with a different definition: replacing [Generic bean: class [ee.andmevara.pit.service.UserService]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/Users/andreluts/Desktop/pit/build/classes/java/main/ee/andmevara/pit/service/UserService.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=webSecurityConfiguration; factoryMethodName=userService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [ee/andmevara/pit/config/security/WebSecurityConfiguration.class]]
  23. 2018-05-24 10:43:59.897 INFO 37829 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'httpRequestHandlerAdapter' 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.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration; factoryMethodName=httpRequestHandlerAdapter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration; factoryMethodName=httpRequestHandlerAdapter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]]
  24. 2018-05-24 10:44:00.050 INFO 37829 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'templateEngine' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=appConfig; factoryMethodName=templateEngine; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [ee/andmevara/pit/config/AppConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafDefaultConfiguration; factoryMethodName=templateEngine; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration$ThymeleafDefaultConfiguration.class]]
  25. 2018-05-24 10:44:00.925 INFO 37829 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.ws.config.annotation.DelegatingWsConfiguration' of type [org.springframework.ws.config.annotation.DelegatingWsConfiguration$$EnhancerBySpringCGLIB$$74a26233] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  26. 2018-05-24 10:44:01.001 INFO 37829 --- [ main] .w.s.a.s.AnnotationActionEndpointMapping : Supporting [WS-Addressing August 2004, WS-Addressing 1.0]
  27. 2018-05-24 10:44:01.110 INFO 37829 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d00a9d34] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  28. 2018-05-24 10:44:01.771 INFO 37829 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8888 (http)
  29. 2018-05-24 10:44:01.823 INFO 37829 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
  30. 2018-05-24 10:44:01.824 INFO 37829 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.29
  31. 2018-05-24 10:44:01.846 INFO 37829 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/andreluts/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
  32. 2018-05-24 10:44:02.105 INFO 37829 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  33. 2018-05-24 10:44:02.106 INFO 37829 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 4265 ms
  34. 2018-05-24 10:44:03.923 INFO 37829 --- [ost-startStop-1] o.f.core.internal.util.VersionPrinter : Flyway Community Edition 5.0.7 by Boxfuse
  35. 2018-05-24 10:44:03.930 INFO 37829 --- [ost-startStop-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
  36. 2018-05-24 10:44:04.198 INFO 37829 --- [ost-startStop-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
  37. 2018-05-24 10:44:04.208 INFO 37829 --- [ost-startStop-1] o.f.c.internal.database.DatabaseFactory : Database: jdbc:postgresql://localhost:5434/postgres (PostgreSQL 10.4)
  38. 2018-05-24 10:44:04.297 INFO 37829 --- [ost-startStop-1] o.f.core.internal.command.DbValidate : Successfully validated 2 migrations (execution time 00:00.036s)
  39. 2018-05-24 10:44:04.328 ERROR 37829 --- [ost-startStop-1] o.s.b.web.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'devLoginFilter' defined in class path resource [ee/andmevara/pit/config/security/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ee.andmevara.pit.config.security.filter.DevLoginFilter]: Factory method 'devLoginFilter' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService': Unsatisfied dependency expressed through field 'userRepo'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Cannot create inner bean '(inner bean)#1d1c97c3' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1d1c97c3': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Found non-empty schema(s) "public" without schema history table! Use baseline() or set baselineOnMigrate to true to initialize the schema history table.
  40. 2018-05-24 10:44:04.380 INFO 37829 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
  41. 2018-05-24 10:44:04.386 WARN 37829 --- [ost-startStop-1] o.a.c.loader.WebappClassLoaderBase : The web application [ROOT] appears to have started a thread named [HikariPool-1 housekeeper] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
  42. java.base@9.0.4/jdk.internal.misc.Unsafe.park(Native Method)
  43. java.base@9.0.4/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
  44. java.base@9.0.4/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2104)
  45. java.base@9.0.4/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1131)
  46. java.base@9.0.4/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:848)
  47. java.base@9.0.4/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)
  48. java.base@9.0.4/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
  49. java.base@9.0.4/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
  50. java.base@9.0.4/java.lang.Thread.run(Thread.java:844)
  51. 2018-05-24 10:44:04.389 WARN 37829 --- [ost-startStop-1] o.a.c.loader.WebappClassLoaderBase : The web application [ROOT] appears to have started a thread named [HikariPool-1 connection adder] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
  52. java.base@9.0.4/jdk.internal.misc.Unsafe.park(Native Method)
  53. java.base@9.0.4/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
  54. java.base@9.0.4/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2104)
  55. java.base@9.0.4/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:460)
  56. java.base@9.0.4/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091)
  57. java.base@9.0.4/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
  58. java.base@9.0.4/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
  59. java.base@9.0.4/java.lang.Thread.run(Thread.java:844)
  60. 2018-05-24 10:44:04.405 WARN 37829 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
  61. 2018-05-24 10:44:04.406 INFO 37829 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
  62. 2018-05-24 10:44:04.413 INFO 37829 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
  63.  
  64. > Task :bootRun FAILED
  65.  
  66. FAILURE: Build failed with an exception.
  67.  
  68. * What went wrong:
  69. Execution failed for task ':bootRun'.
  70. > Process 'command '/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
  71.  
  72. * Try:
  73. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  74.  
  75. * Get more help at https://help.gradle.org
  76.  
  77. Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
  78. See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings
  79.  
  80. BUILD FAILED in 15s
  81. 3 actionable tasks: 1 executed, 2 up-to-date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement