Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/s/flowing-trip-booking-saga> mvn spring-boot:run
- [INFO] Scanning for projects...
- [INFO]
- [INFO] -------------< io.flowing.trip:flowing-trip-booking-saga >--------------
- [INFO] Building flowing-trip-booking-saga 0.0.1-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] >>> spring-boot-maven-plugin:2.0.2.RELEASE:run (default-cli) > test-compile @ flowing-trip-booking-saga >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ flowing-trip-booking-saga ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ flowing-trip-booking-saga ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ flowing-trip-booking-saga ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /Users/aironman/sagas-with-camunda/flowing-trip-booking-saga/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ flowing-trip-booking-saga ---
- [INFO] No sources to compile
- [INFO]
- [INFO] <<< spring-boot-maven-plugin:2.0.2.RELEASE:run (default-cli) < test-compile @ flowing-trip-booking-saga <<<
- [INFO]
- [INFO]
- [INFO] --- spring-boot-maven-plugin:2.0.2.RELEASE:run (default-cli) @ flowing-trip-booking-saga ---
- ____ _ ____ ____ __ __
- / ___| __ _ _ __ ___ _ _ _ __ __| | __ _ | __ )| _ \| \/ |
- | | / _` | '_ ` _ \| | | | '_ \ / _` |/ _` | | _ \| |_) | |\/| |
- | |__| (_| | | | | | | |_| | | | | (_| | (_| | | |_) | __/| | | |
- \____/\__,_|_| |_| |_|\__,_|_| |_|\__,_|\__,_| |____/|_| |_| |_|
- Spring-Boot: (v2.0.2.RELEASE)
- Camunda BPM: (v7.10.0)
- Camunda BPM Spring Boot Starter: (v3.0.0)
- 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)
- 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
- 10:41:24.082 [main] INFO i.f.t.s.c.springboot.Application - No active profile set, falling back to default profiles: default
- 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
- WARNING: An illegal reflective access operation has occurred
- 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)
- 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
- 10:41:24.868 [main] INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 10:41:25.202 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
- 10:41:25.215 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
- 10:41:25.225 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
- 10:41:25.225 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.31
- 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:.]
- 10:41:25.317 [localhost-startStop-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
- 10:41:25.318 [localhost-startStop-1] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1182 ms
- 10:41:25.556 [localhost-startStop-1] INFO o.s.b.w.s.ServletRegistrationBean - Servlet dispatcherServlet mapped to [/]
- 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]
- 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 10:41:25.564 [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]
- 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'
- 10:41:25.849 [main] INFO org.camunda.bpm.spring.boot - STARTER-SB040 Setting up jobExecutor with corePoolSize=3, maxPoolSize:10
- 10:41:25.854 [main] INFO o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'camundaTaskExecutor'
- 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'
- 10:41:25.987 [main] INFO org.camunda.bpm.spring.boot - STARTER-SB020 ProcessApplication enabled: autoDeployment via springConfiguration#deploymentResourcePattern is disabled
- 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'
- 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'
- 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'
- 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'
- 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'
- 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'
- 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'
- 10:41:28.514 [main] INFO org.camunda.bpm.engine.persistence - ENGINE-03067 No history level property found in database
- 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)
- 10:41:28.559 [main] INFO org.camunda.bpm.engine - ENGINE-00001 Process Engine default created.
- 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]
- 10:41:28.687 [main] INFO org.camunda.bpm.spring.boot - STARTER-SB015 create initial filter: id=867ff2c6-38e1-11e9-ae1d-5ab50f6f8576 name=All
- 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.
- 10:41:29.185 [main] DEBUG o.h.v.m.ResourceBundleMessageInterpolator - Loaded expression factory via original TCCL
- 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.
- 10:41:29.189 [main] DEBUG o.h.v.i.engine.ConfigurationImpl - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
- 10:41:29.190 [main] DEBUG o.h.v.i.engine.ConfigurationImpl - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
- 10:41:29.190 [main] DEBUG o.h.v.i.engine.ConfigurationImpl - Setting custom ParameterNameProvider of type org.springframework.validation.beanvalidation.LocalValidatorFactoryBean$1
- 10:41:29.191 [main] DEBUG o.h.v.i.xml.ValidationXmlParser - Trying to load META-INF/validation.xml for XML based Validator configuration.
- 10:41:29.191 [main] DEBUG o.h.v.i.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via user class loader
- 10:41:29.191 [main] DEBUG o.h.v.i.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via TCCL
- 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
- 10:41:29.192 [main] DEBUG o.h.v.i.xml.ValidationXmlParser - No META-INF/validation.xml found. Using annotation based configuration only.
- 10:41:29.194 [main] DEBUG o.h.v.i.engine.ValidatorFactoryImpl - HV000234: Using org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator as ValidatorFactory-scoped message interpolator.
- 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.
- 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.
- 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.
- 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.
- 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]
- 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
- 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)
- 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)
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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
- 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.
- 10:41:29.568 [main] INFO org.camunda.bpm.engine - ENGINE-00007 Process Engine default closed
- 10:41:29.569 [main] INFO o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'camundaTaskExecutor'
- 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'
- 10:41:29.572 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
- 10:41:29.588 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener -
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 10:41:29.591 [main] ERROR o.s.boot.SpringApplication - Application run failed
- 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.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:587)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at io.flowing.trip.saga.camunda.springboot.Application.main(Application.java:21)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:564)
- at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:496)
- at java.base/java.lang.Thread.run(Thread.java:844)
- Caused by: java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit(LazyDelegateFilter.java:32)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.lazyInit(LazyInitRegistration.java:48)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.setApplicationContext(LazyInitRegistration.java:66)
- at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:120)
- at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:96)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- ... 21 common frames omitted
- Caused by: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
- at org.camunda.bpm.spring.boot.starter.webapp.filter.ResourceLoadingSecurityFilter.loadFilterRules(ResourceLoadingSecurityFilter.java:29)
- at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.init(SecurityFilter.java:87)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit(LazyDelegateFilter.java:30)
- ... 28 common frames omitted
- [WARNING]
- java.lang.reflect.InvocationTargetException
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:564)
- at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
- at java.lang.Thread.run (Thread.java:844)
- 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.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:587)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0 (AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:760)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:869)
- at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh (SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:1243)
- at io.flowing.trip.saga.camunda.springboot.Application.main (Application.java:21)
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:564)
- at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
- at java.lang.Thread.run (Thread.java:844)
- Caused by: java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit (LazyDelegateFilter.java:32)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.lazyInit (LazyInitRegistration.java:48)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.setApplicationContext (LazyInitRegistration.java:66)
- at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces (ApplicationContextAwareProcessor.java:120)
- at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization (ApplicationContextAwareProcessor.java:96)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization (AbstractAutowireCapableBeanFactory.java:422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1698)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0 (AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:760)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:869)
- at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh (SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:1243)
- at io.flowing.trip.saga.camunda.springboot.Application.main (Application.java:21)
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:564)
- at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
- at java.lang.Thread.run (Thread.java:844)
- Caused by: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
- at org.camunda.bpm.spring.boot.starter.webapp.filter.ResourceLoadingSecurityFilter.loadFilterRules (ResourceLoadingSecurityFilter.java:29)
- at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.init (SecurityFilter.java:87)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit (LazyDelegateFilter.java:30)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.lazyInit (LazyInitRegistration.java:48)
- at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyInitRegistration.setApplicationContext (LazyInitRegistration.java:66)
- at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces (ApplicationContextAwareProcessor.java:120)
- at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization (ApplicationContextAwareProcessor.java:96)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization (AbstractAutowireCapableBeanFactory.java:422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1698)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0 (AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:760)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:869)
- at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh (SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run (SpringApplication.java:1243)
- at io.flowing.trip.saga.camunda.springboot.Application.main (Application.java:21)
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:564)
- at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
- at java.lang.Thread.run (Thread.java:844)
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 8.164 s
- [INFO] Finished at: 2019-02-25T10:41:29+01:00
- [INFO] ------------------------------------------------------------------------
- [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]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- aironman@MacBook-Pro-Retina-de-Alonso ~/s/flowing-trip-booking-saga>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement