Skip to content

Instantly share code, notes, and snippets.

@Harlampov
Created June 27, 2016 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Harlampov/fbd7ef547ff39486a7bbd4d99085dd2c to your computer and use it in GitHub Desktop.
Save Harlampov/fbd7ef547ff39486a7bbd4d99085dd2c to your computer and use it in GitHub Desktop.
abs2gcal 1.3.0 startup error
esb-b-test:~# docker logs -f abs2gcal
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.3.2.RELEASE)
2016-06-27 11:32:56.352 INFO 9 --- [ main] com.melexis.absences.Main : Starting Main v1.3.0-SNAPSHOT on 9002ac9b9e21 with PID 9 (/app/app.jar started by root in /)
2016-06-27 11:32:56.356 INFO 9 --- [ main] com.melexis.absences.Main : No active profile set, falling back to default profiles: default
2016-06-27 11:32:56.450 INFO 9 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@67ac44a9: startup date [Mon Jun 27 11:32:56 CEST 2016]; root of context hierarchy
2016-06-27 11:32:57.791 INFO 9 --- [ 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-06-27 11:32:58.629 INFO 9 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$82edf779] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-06-27 11:32:58.673 INFO 9 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [class org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$1ac565b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-06-27 11:32:59.219 INFO 9 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2016-06-27 11:32:59.236 INFO 9 --- [ main] o.apache.catalina.core.StandardService : Starting service Tomcat
2016-06-27 11:32:59.237 INFO 9 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
2016-06-27 11:32:59.326 INFO 9 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2016-06-27 11:32:59.327 INFO 9 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2883 ms
2016-06-27 11:32:59.798 INFO 9 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2016-06-27 11:32:59.803 INFO 9 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'metricFilter' to: [/*]
2016-06-27 11:32:59.803 INFO 9 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2016-06-27 11:32:59.804 INFO 9 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-06-27 11:32:59.804 INFO 9 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-06-27 11:32:59.804 INFO 9 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2016-06-27 11:32:59.804 INFO 9 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*]
2016-06-27 11:32:59.804 INFO 9 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
2016-06-27 11:33:00.051 INFO 9 --- [ main] o.f.core.internal.util.VersionPrinter : Flyway 3.2.1 by Boxfuse
2016-06-27 11:33:00.055 WARN 9 --- [ main] o.a.tomcat.jdbc.pool.ConnectionPool : maxIdle is larger than maxActive, setting maxIdle to: 50
2016-06-27 11:33:00.281 INFO 9 --- [ main] o.f.c.i.dbsupport.DbSupportFactory : Database: jdbc:postgresql://postgresql1-test.colo.elex.be/absences (PostgreSQL 9.1)
2016-06-27 11:33:00.362 INFO 9 --- [ main] o.f.core.internal.command.DbValidate : Validated 1 migration (execution time 00:00.041s)
2016-06-27 11:33:00.395 INFO 9 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "public": 1
2016-06-27 11:33:00.397 INFO 9 --- [ main] o.f.core.internal.command.DbMigrate : Schema "public" is up to date. No migration necessary.
2016-06-27 11:33:00.474 INFO 9 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2016-06-27 11:33:00.483 INFO 9 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-06-27 11:33:00.553 INFO 9 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
2016-06-27 11:33:00.556 INFO 9 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2016-06-27 11:33:00.557 INFO 9 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2016-06-27 11:33:00.813 INFO 9 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-06-27 11:33:01.408 INFO 9 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect
2016-06-27 11:33:01.419 INFO 9 --- [ main] o.h.e.jdbc.internal.LobCreatorBuilder : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2016-06-27 11:33:01.509 INFO 9 --- [ main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
2016-06-27 11:33:01.736 INFO 9 --- [ main] o.h.tool.hbm2ddl.SchemaValidator : HHH000229: Running schema validator
2016-06-27 11:33:01.737 INFO 9 --- [ main] o.h.tool.hbm2ddl.SchemaValidator : HHH000102: Fetching database metadata
2016-06-27 11:33:01.759 INFO 9 --- [ main] o.hibernate.tool.hbm2ddl.TableMetadata : HHH000261: Table found: public.absence
2016-06-27 11:33:01.760 INFO 9 --- [ main] o.hibernate.tool.hbm2ddl.TableMetadata : HHH000037: Columns: [trigram, absence_type, approved, firstname, period, event_id, absence_id, start, finish, location, hire_date, lastname]
2016-06-27 11:33:02.267 WARN 9 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'absencesToGCalRoute': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.melexis.absences.gcal.processors.GCalEventProcessor com.melexis.absences.gcal.AbsencesToGCalRoute.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalEventProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
2016-06-27 11:33:02.268 INFO 9 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2016-06-27 11:33:02.274 INFO 9 --- [ main] o.apache.catalina.core.StandardService : Stopping service Tomcat
2016-06-27 11:33:02.377 ERROR 9 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'absencesToGCalRoute': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.melexis.absences.gcal.processors.GCalEventProcessor com.melexis.absences.gcal.AbsencesToGCalRoute.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalEventProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
at com.melexis.absences.Main.main(Main.java:26) [app.jar!/:1.3.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_72-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_72-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_72-internal]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_72-internal]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) [app.jar!/:1.3.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72-internal]
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.melexis.absences.gcal.processors.GCalEventProcessor com.melexis.absences.gcal.AbsencesToGCalRoute.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalEventProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
... 23 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalEventProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
... 25 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
... 36 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
... 38 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
... 49 common frames omitted
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) ~[spring-core-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) ~[spring-core-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:204) ~[spring-core-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:178) ~[spring-core-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2.resolveStringValue(PropertySourcesPlaceholderConfigurer.java:172) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:808) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1027) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
... 51 common frames omitted
2016-06-27 11:33:02.379 INFO 9 --- [ main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [jar:file:/app/app.jar!/, jar:file:/app/app.jar!/lib/absences-route-1.3.0-SNAPSHOT.jar!/, jar:file:/app/app.jar!/lib/absences-dao-1.3.0-SNAPSHOT.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-data-jpa-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-aop-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/aspectjweaver-1.8.8.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-jdbc-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/tomcat-jdbc-8.0.30.jar!/, jar:file:/app/app.jar!/lib/tomcat-juli-8.0.30.jar!/, jar:file:/app/app.jar!/lib/spring-jdbc-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/hibernate-entitymanager-4.3.11.Final.jar!/, jar:file:/app/app.jar!/lib/jboss-logging-annotations-1.2.0.Beta1.jar!/, jar:file:/app/app.jar!/lib/hibernate-core-4.3.11.Final.jar!/, jar:file:/app/app.jar!/lib/antlr-2.7.7.jar!/, jar:file:/app/app.jar!/lib/jandex-1.1.0.Final.jar!/, jar:file:/app/app.jar!/lib/dom4j-1.6.1.jar!/, jar:file:/app/app.jar!/lib/xml-apis-1.0.b2.jar!/, jar:file:/app/app.jar!/lib/hibernate-commons-annotations-4.0.5.Final.jar!/, jar:file:/app/app.jar!/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar!/, jar:file:/app/app.jar!/lib/javassist-3.18.1-GA.jar!/, jar:file:/app/app.jar!/lib/javax.transaction-api-1.2.jar!/, jar:file:/app/app.jar!/lib/spring-data-jpa-1.9.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-data-commons-1.11.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-orm-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-aspects-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-test-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/junit-4.12.jar!/, jar:file:/app/app.jar!/lib/mockito-core-1.10.19.jar!/, jar:file:/app/app.jar!/lib/objenesis-2.1.jar!/, jar:file:/app/app.jar!/lib/hamcrest-core-1.3.jar!/, jar:file:/app/app.jar!/lib/hamcrest-library-1.3.jar!/, jar:file:/app/app.jar!/lib/spring-test-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/hsqldb-2.3.3.jar!/, jar:file:/app/app.jar!/lib/perf4j-0.9.16.jar!/, jar:file:/app/app.jar!/lib/slf4j-api-1.7.13.jar!/, jar:file:/app/app.jar!/lib/log4j-over-slf4j-1.7.13.jar!/, jar:file:/app/app.jar!/lib/flyway-core-3.2.1.jar!/, jar:file:/app/app.jar!/lib/jackson-annotations-2.6.5.jar!/, jar:file:/app/app.jar!/lib/activemq-camel-5.12.2.jar!/, jar:file:/app/app.jar!/lib/camel-jms-2.15.4.jar!/, jar:file:/app/app.jar!/lib/spring-jms-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-messaging-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/activemq-spring-5.12.2.jar!/, jar:file:/app/app.jar!/lib/xbean-spring-3.18.jar!/, jar:file:/app/app.jar!/lib/activemq-broker-5.12.2.jar!/, jar:file:/app/app.jar!/lib/activemq-openwire-legacy-5.12.2.jar!/, jar:file:/app/app.jar!/lib/geronimo-jta_1.0.1B_spec-1.0.1.jar!/, jar:file:/app/app.jar!/lib/commons-pool2-2.4.2.jar!/, jar:file:/app/app.jar!/lib/activemq-pool-5.12.2.jar!/, jar:file:/app/app.jar!/lib/activemq-jms-pool-5.12.2.jar!/, jar:file:/app/app.jar!/lib/geronimo-jms_1.1_spec-1.1.1.jar!/, jar:file:/app/app.jar!/lib/activemq-client-5.12.2.jar!/, jar:file:/app/app.jar!/lib/hawtbuf-1.11.jar!/, jar:file:/app/app.jar!/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar!/, jar:file:/app/app.jar!/lib/camel-ftp-2.16.2.jar!/, jar:file:/app/app.jar!/lib/camel-core-2.16.2.jar!/, jar:file:/app/app.jar!/lib/commons-net-3.3.jar!/, jar:file:/app/app.jar!/lib/camel-jackson-2.16.2.jar!/, jar:file:/app/app.jar!/lib/jackson-module-jaxb-annotations-2.6.3.jar!/, jar:file:/app/app.jar!/lib/guava-18.0.jar!/, jar:file:/app/app.jar!/lib/commons-csv-1.2.jar!/, jar:file:/app/app.jar!/lib/google-api-client-1.20.0.jar!/, jar:file:/app/app.jar!/lib/guava-jdk5-13.0.jar!/, jar:file:/app/app.jar!/lib/google-oauth-client-1.20.0.jar!/, jar:file:/app/app.jar!/lib/jsr305-1.3.9.jar!/, jar:file:/app/app.jar!/lib/google-http-client-1.20.0.jar!/, jar:file:/app/app.jar!/lib/httpclient-4.5.1.jar!/, jar:file:/app/app.jar!/lib/httpcore-4.4.4.jar!/, jar:file:/app/app.jar!/lib/commons-codec-1.9.jar!/, jar:file:/app/app.jar!/lib/google-http-client-jackson2-1.20.0.jar!/, jar:file:/app/app.jar!/lib/jackson-core-2.6.5.jar!/, jar:file:/app/app.jar!/lib/google-api-services-calendar-v3-rev147-1.20.0.jar!/, jar:file:/app/app.jar!/lib/log4j-1.2.17.jar!/, jar:file:/app/app.jar!/lib/commons-lang-2.6.jar!/, jar:file:/app/app.jar!/lib/joda-time-2.8.2.jar!/, jar:file:/app/app.jar!/lib/jackson-databind-2.6.5.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-web-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-tomcat-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/tomcat-embed-core-8.0.30.jar!/, jar:file:/app/app.jar!/lib/tomcat-embed-el-8.0.30.jar!/, jar:file:/app/app.jar!/lib/tomcat-embed-logging-juli-8.0.30.jar!/, jar:file:/app/app.jar!/lib/tomcat-embed-websocket-8.0.30.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-validation-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/hibernate-validator-5.2.2.Final.jar!/, jar:file:/app/app.jar!/lib/validation-api-1.1.0.Final.jar!/, jar:file:/app/app.jar!/lib/jboss-logging-3.3.0.Final.jar!/, jar:file:/app/app.jar!/lib/classmate-1.1.0.jar!/, jar:file:/app/app.jar!/lib/spring-web-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-aop-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/aopalliance-1.0.jar!/, jar:file:/app/app.jar!/lib/spring-beans-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-webmvc-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-expression-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/java-statsd-client-3.1.0.jar!/, jar:file:/app/app.jar!/lib/spring-boot-actuator-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-boot-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-boot-autoconfigure-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-core-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-context-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/camel-spring-boot-2.16.2.jar!/, jar:file:/app/app.jar!/lib/camel-spring-2.16.2.jar!/, jar:file:/app/app.jar!/lib/spring-tx-4.2.4.RELEASE.jar!/, jar:file:/app/app.jar!/lib/jaxb-core-2.2.11.jar!/, jar:file:/app/app.jar!/lib/jaxb-impl-2.2.11.jar!/, jar:file:/app/app.jar!/lib/postgresql-9.3-1102.jdbc41.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/spring-boot-starter-logging-1.3.2.RELEASE.jar!/, jar:file:/app/app.jar!/lib/logback-classic-1.1.3.jar!/, jar:file:/app/app.jar!/lib/logback-core-1.1.3.jar!/, jar:file:/app/app.jar!/lib/jcl-over-slf4j-1.7.13.jar!/, jar:file:/app/app.jar!/lib/jul-to-slf4j-1.7.13.jar!/, jar:file:/app/app.jar!/lib/snakeyaml-1.16.jar!/, jar:file:/app/app.jar!/lib/commons-vfs2-2.1.jar!/, jar:file:/app/app.jar!/lib/commons-logging-1.2.jar!/, jar:file:/app/app.jar!/lib/jsch-0.1.53.jar!/]
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
... 1 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'absencesToGCalRoute': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.melexis.absences.gcal.processors.GCalEventProcessor com.melexis.absences.gcal.AbsencesToGCalRoute.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalEventProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
at com.melexis.absences.Main.main(Main.java:26)
... 6 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.melexis.absences.gcal.processors.GCalEventProcessor com.melexis.absences.gcal.AbsencesToGCalRoute.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalEventProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 23 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalEventProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.melexis.absences.gcal.GCalUtil com.melexis.absences.gcal.processors.GCalEventProcessor.gcal; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 36 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GCalUtil': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 38 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.melexis.absences.gcal.GCalUtil.gcalThrottleDelay; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 49 more
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'GCAL_THROTTLE_DELAY' in string value "${GCAL_THROTTLE_DELAY}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:204)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:178)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2.resolveStringValue(PropertySourcesPlaceholderConfigurer.java:172)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:808)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1027)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 51 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment