Advertisement
aironman

spring-boot:run camunda 10

Feb 25th, 2019
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.00 KB | None | 0 0
  1. ~/s/flowing-trip-booking-saga> mvn spring-boot:run
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] -------------< io.flowing.trip:flowing-trip-booking-saga >--------------
  5. [INFO] Building flowing-trip-booking-saga 0.0.1-SNAPSHOT
  6. [INFO] --------------------------------[ jar ]---------------------------------
  7. [INFO]
  8. [INFO] >>> spring-boot-maven-plugin:2.0.2.RELEASE:run (default-cli) > test-compile @ flowing-trip-booking-saga >>>
  9. [INFO]
  10. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ flowing-trip-booking-saga ---
  11. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  12. [INFO] Copying 3 resources
  13. [INFO]
  14. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ flowing-trip-booking-saga ---
  15. [INFO] Nothing to compile - all classes are up to date
  16. [INFO]
  17. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ flowing-trip-booking-saga ---
  18. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  19. [INFO] skip non existing resourceDirectory /Users/aironman/sagas-with-camunda/flowing-trip-booking-saga/src/test/resources
  20. [INFO]
  21. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ flowing-trip-booking-saga ---
  22. [INFO] No sources to compile
  23. [INFO]
  24. [INFO] <<< spring-boot-maven-plugin:2.0.2.RELEASE:run (default-cli) < test-compile @ flowing-trip-booking-saga <<<
  25. [INFO]
  26. [INFO]
  27. [INFO] --- spring-boot-maven-plugin:2.0.2.RELEASE:run (default-cli) @ flowing-trip-booking-saga ---
  28.  
  29. ____ _ ____ ____ __ __
  30. / ___| __ _ _ __ ___ _ _ _ __ __| | __ _ | __ )| _ \| \/ |
  31. | | / _` | '_ ` _ \| | | | '_ \ / _` |/ _` | | _ \| |_) | |\/| |
  32. | |__| (_| | | | | | | |_| | | | | (_| | (_| | | |_) | __/| | | |
  33. \____/\__,_|_| |_| |_|\__,_|_| |_|\__,_|\__,_| |____/|_| |_| |_|
  34.  
  35. Spring-Boot: (v2.0.2.RELEASE)
  36. Camunda BPM: (v7.10.0)
  37. Camunda BPM Spring Boot Starter: (v3.0.0)
  38.  
  39. 10:41:24.076 [main] INFO i.f.t.s.c.springboot.Application - Starting Application on MacBook-Pro-Retina-de-Alonso.local with PID 9750 (/Users/aironman/sagas-with-camunda/flowing-trip-booking-saga/target/classes started by aironman in /Users/aironman/sagas-with-camunda/flowing-trip-booking-saga)
  40. 10:41:24.079 [main] DEBUG i.f.t.s.c.springboot.Application - Running with Spring Boot v2.0.2.RELEASE, Spring v5.0.6.RELEASE
  41. 10:41:24.082 [main] INFO i.f.t.s.c.springboot.Application - No active profile set, falling back to default profiles: default
  42. 10:41:24.144 [main] INFO o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@54bf4ede: startup date [Mon Feb 25 10:41:24 CET 2019]; root of context hierarchy
  43. WARNING: An illegal reflective access operation has occurred
  44. WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/Users/aironman/.m2/repository/org/springframework/spring-core/5.0.6.RELEASE/spring-core-5.0.6.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
  45. WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
  46. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  47. WARNING: All illegal access operations will be denied in a future release
  48. 10:41:24.868 [main] INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  49. 10:41:25.202 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
  50. 10:41:25.215 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  51. 10:41:25.225 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
  52. 10:41:25.225 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.31
  53. 10:41:25.233 [localhost-startStop-1] INFO o.a.c.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/aironman/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
  54. 10:41:25.317 [localhost-startStop-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  55. 10:41:25.318 [localhost-startStop-1] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1182 ms
  56. 10:41:25.556 [localhost-startStop-1] INFO o.s.b.w.s.ServletRegistrationBean - Servlet dispatcherServlet mapped to [/]
  57. 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]
  58. 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  59. 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]
  60. 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]
  61. 10:41:25.667 [main] INFO o.s.j.d.e.EmbeddedDatabaseFactory - Starting embedded database: url='jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
  62. 10:41:25.849 [main] INFO org.camunda.bpm.spring.boot - STARTER-SB040 Setting up jobExecutor with corePoolSize=3, maxPoolSize:10
  63. 10:41:25.854 [main] INFO o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'camundaTaskExecutor'
  64. 10:41:25.984 [main] INFO org.camunda.bpm.engine.cfg - ENGINE-12003 Plugin 'CompositeProcessEnginePlugin[genericPropertiesConfiguration, camundaEngineHistoryConfiguration, camundaEngineIdGeneratorConfiguration, camundaProcessEngineConfiguration, camundaDatasourceConfiguration, camundaJobConfiguration, camundaHistoryConfiguration, camundaMetricsConfiguration, camundaAuthorizationConfiguration, CreateAdminUserConfiguration[adminUser=AdminUserProperty[id=demo, firstName=Demo, lastName=Demo, email=demo@localhost, password=demo]], failedJobConfiguration, CreateFilterConfiguration[filterName=All], disableDeploymentResourcePattern]' activated on process engine 'default'
  65. 10:41:25.987 [main] INFO org.camunda.bpm.spring.boot - STARTER-SB020 ProcessApplication enabled: autoDeployment via springConfiguration#deploymentResourcePattern is disabled
  66. 10:41:28.325 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'create' on component 'engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.engine.sql'
  67. 10:41:28.368 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'create' on component 'history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.history.sql'
  68. 10:41:28.387 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'create' on component 'identity' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.identity.sql'
  69. 10:41:28.413 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'create' on component 'case.engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.case.engine.sql'
  70. 10:41:28.423 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'create' on component 'case.history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.case.history.sql'
  71. 10:41:28.472 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'create' on component 'decision.engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.decision.engine.sql'
  72. 10:41:28.488 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03016 Performing database operation 'create' on component 'decision.history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.decision.history.sql'
  73. 10:41:28.514 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03067 No history level property found in database
  74. 10:41:28.514 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03065 Creating historyLevel property in database for level: HistoryLevelFull(name=full, id=3)
  75. 10:41:28.559 [main] INFO org.camunda.bpm.engine - ENGINE-00001 Process Engine default created.
  76. 10:41:28.677 [main] INFO org.camunda.bpm.spring.boot - STARTER-SB010 creating initital Admin User: AdminUserProperty[id=demo, firstName=Demo, lastName=Demo, email=demo@localhost, password=demo]
  77. 10:41:28.687 [main] INFO org.camunda.bpm.spring.boot - STARTER-SB015 create initial filter: id=867ff2c6-38e1-11e9-ae1d-5ab50f6f8576 name=All
  78. 10:41:29.184 [main] DEBUG o.h.v.i.e.r.TraversableResolvers - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
  79. 10:41:29.185 [main] DEBUG o.h.v.m.ResourceBundleMessageInterpolator - Loaded expression factory via original TCCL
  80. 10:41:29.189 [main] DEBUG o.h.v.i.e.r.TraversableResolvers - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
  81. 10:41:29.189 [main] DEBUG o.h.v.i.engine.ConfigurationImpl - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
  82. 10:41:29.190 [main] DEBUG o.h.v.i.engine.ConfigurationImpl - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
  83. 10:41:29.190 [main] DEBUG o.h.v.i.engine.ConfigurationImpl - Setting custom ParameterNameProvider of type org.springframework.validation.beanvalidation.LocalValidatorFactoryBean$1
  84. 10:41:29.191 [main] DEBUG o.h.v.i.xml.ValidationXmlParser - Trying to load META-INF/validation.xml for XML based Validator configuration.
  85. 10:41:29.191 [main] DEBUG o.h.v.i.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via user class loader
  86. 10:41:29.191 [main] DEBUG o.h.v.i.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via TCCL
  87. 10:41:29.191 [main] DEBUG o.h.v.i.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
  88. 10:41:29.192 [main] DEBUG o.h.v.i.xml.ValidationXmlParser - No META-INF/validation.xml found. Using annotation based configuration only.
  89. 10:41:29.194 [main] DEBUG o.h.v.i.engine.ValidatorFactoryImpl - HV000234: Using org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator as ValidatorFactory-scoped message interpolator.
  90. 10:41:29.194 [main] DEBUG o.h.v.i.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
  91. 10:41:29.194 [main] DEBUG o.h.v.i.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
  92. 10:41:29.194 [main] DEBUG o.h.v.i.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
  93. 10:41:29.195 [main] DEBUG o.h.v.i.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
  94. 10:41:29.240 [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  95. 10:41:29.357 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@54bf4ede: startup date [Mon Feb 25 10:41:24 CET 2019]; root of context hierarchy
  96. 10:41:29.421 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
  97. 10:41:29.422 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
  98. 10:41:29.432 [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Root mapping to handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController]
  99. 10:41:29.442 [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  100. 10:41:29.443 [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  101. 10:41:29.443 [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/lib/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  102. 10:41:29.443 [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/api/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  103. 10:41:29.443 [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/app/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  104. 10:41:29.558 [main] INFO o.c.b.s.b.s.w.f.LazyInitRegistration - lazy initialized org.camunda.bpm.spring.boot.starter.webapp.filter.LazyProcessEnginesFilter@6ffd040c
  105. 10:41:29.559 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyInitRegistration' defined in class path resource [org/camunda/bpm/spring/boot/starter/webapp/CamundaBpmWebappAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
  106. 10:41:29.568 [main] INFO org.camunda.bpm.engine - ENGINE-00007 Process Engine default closed
  107. 10:41:29.569 [main] INFO o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'camundaTaskExecutor'
  108. 10:41:29.569 [main] INFO o.s.j.d.e.EmbeddedDatabaseFactory - Shutting down embedded database: url='jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false'
  109. 10:41:29.572 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
  110. 10:41:29.588 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener -
  111.  
  112. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  113. 10:41:29.591 [main] ERROR o.s.boot.SpringApplication - Application run failed
  114. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyInitRegistration' defined in class path resource [org/camunda/bpm/spring/boot/starter/webapp/CamundaBpmWebappAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
  115. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:587)
  116. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  117. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  118. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  119. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  120. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  121. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)
  122. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
  123. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  124. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  125. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  126. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  127. at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  128. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  129. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  130. at io.flowing.trip.saga.camunda.springboot.Application.main(Application.java:21)
  131. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  132. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  133. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  134. at java.base/java.lang.reflect.Method.invoke(Method.java:564)
  135. at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:496)
  136. at java.base/java.lang.Thread.run(Thread.java:844)
  137. Caused by: java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
  138. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit(LazyDelegateFilter.java:32)
  139. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.lazyInit(LazyInitRegistration.java:48)
  140. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.setApplicationContext(LazyInitRegistration.java:66)
  141. at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:120)
  142. at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:96)
  143. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:422)
  144. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)
  145. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  146. ... 21 common frames omitted
  147. Caused by: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
  148. at org.camunda.bpm.spring.boot.starter.webapp.filter.ResourceLoadingSecurityFilter.loadFilterRules(ResourceLoadingSecurityFilter.java:29)
  149. at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.init(SecurityFilter.java:87)
  150. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit(LazyDelegateFilter.java:30)
  151. ... 28 common frames omitted
  152. [WARNING]
  153. java.lang.reflect.InvocationTargetException
  154. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  155. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  156. at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  157. at java.lang.reflect.Method.invoke (Method.java:564)
  158. at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
  159. at java.lang.Thread.run (Thread.java:844)
  160. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyInitRegistration' defined in class path resource [org/camunda/bpm/spring/boot/starter/webapp/CamundaBpmWebappAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
  161. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:587)
  162. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:501)
  163. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0 (AbstractBeanFactory.java:317)
  164. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:228)
  165. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:315)
  166. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:199)
  167. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:760)
  168. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:869)
  169. at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:550)
  170. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java:140)
  171. at org.springframework.boot.SpringApplication.refresh (SpringApplication.java:759)
  172. at org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java:395)
  173. at org.springframework.boot.SpringApplication.run (SpringApplication.java:327)
  174. at org.springframework.boot.SpringApplication.run (SpringApplication.java:1255)
  175. at org.springframework.boot.SpringApplication.run (SpringApplication.java:1243)
  176. at io.flowing.trip.saga.camunda.springboot.Application.main (Application.java:21)
  177. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  178. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  179. at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  180. at java.lang.reflect.Method.invoke (Method.java:564)
  181. at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
  182. at java.lang.Thread.run (Thread.java:844)
  183. Caused by: java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
  184. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit (LazyDelegateFilter.java:32)
  185. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.lazyInit (LazyInitRegistration.java:48)
  186. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.setApplicationContext (LazyInitRegistration.java:66)
  187. at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces (ApplicationContextAwareProcessor.java:120)
  188. at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization (ApplicationContextAwareProcessor.java:96)
  189. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization (AbstractAutowireCapableBeanFactory.java:422)
  190. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1698)
  191. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:579)
  192. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:501)
  193. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0 (AbstractBeanFactory.java:317)
  194. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:228)
  195. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:315)
  196. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:199)
  197. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:760)
  198. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:869)
  199. at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:550)
  200. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java:140)
  201. at org.springframework.boot.SpringApplication.refresh (SpringApplication.java:759)
  202. at org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java:395)
  203. at org.springframework.boot.SpringApplication.run (SpringApplication.java:327)
  204. at org.springframework.boot.SpringApplication.run (SpringApplication.java:1255)
  205. at org.springframework.boot.SpringApplication.run (SpringApplication.java:1243)
  206. at io.flowing.trip.saga.camunda.springboot.Application.main (Application.java:21)
  207. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  208. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  209. at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  210. at java.lang.reflect.Method.invoke (Method.java:564)
  211. at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
  212. at java.lang.Thread.run (Thread.java:844)
  213. Caused by: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
  214. at org.camunda.bpm.spring.boot.starter.webapp.filter.ResourceLoadingSecurityFilter.loadFilterRules (ResourceLoadingSecurityFilter.java:29)
  215. at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.init (SecurityFilter.java:87)
  216. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit (LazyDelegateFilter.java:30)
  217. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.lazyInit (LazyInitRegistration.java:48)
  218. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.setApplicationContext (LazyInitRegistration.java:66)
  219. at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces (ApplicationContextAwareProcessor.java:120)
  220. at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization (ApplicationContextAwareProcessor.java:96)
  221. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization (AbstractAutowireCapableBeanFactory.java:422)
  222. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1698)
  223. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:579)
  224. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:501)
  225. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0 (AbstractBeanFactory.java:317)
  226. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:228)
  227. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:315)
  228. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:199)
  229. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:760)
  230. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:869)
  231. at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:550)
  232. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java:140)
  233. at org.springframework.boot.SpringApplication.refresh (SpringApplication.java:759)
  234. at org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java:395)
  235. at org.springframework.boot.SpringApplication.run (SpringApplication.java:327)
  236. at org.springframework.boot.SpringApplication.run (SpringApplication.java:1255)
  237. at org.springframework.boot.SpringApplication.run (SpringApplication.java:1243)
  238. at io.flowing.trip.saga.camunda.springboot.Application.main (Application.java:21)
  239. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  240. at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  241. at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  242. at java.lang.reflect.Method.invoke (Method.java:564)
  243. at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
  244. at java.lang.Thread.run (Thread.java:844)
  245. [INFO] ------------------------------------------------------------------------
  246. [INFO] BUILD FAILURE
  247. [INFO] ------------------------------------------------------------------------
  248. [INFO] Total time: 8.164 s
  249. [INFO] Finished at: 2019-02-25T10:41:29+01:00
  250. [INFO] ------------------------------------------------------------------------
  251. [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.2.RELEASE:run (default-cli) on project flowing-trip-booking-saga: An exception occurred while running. null: InvocationTargetException: Error creating bean with name 'lazyInitRegistration' defined in class path resource [org/camunda/bpm/spring/boot/starter/webapp/CamundaBpmWebappAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context. -> [Help 1]
  252. [ERROR]
  253. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  254. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  255. [ERROR]
  256. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  257. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  258. aironman@MacBook-Pro-Retina-de-Alonso ~/s/flowing-trip-booking-saga>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement