4finance / boot-microservice Goto Github PK
View Code? Open in Web Editor NEWCommon classes for microservices set up on Spring Boot.
License: Apache License 2.0
Common classes for microservices set up on Spring Boot.
License: Apache License 2.0
Currently application on embedded Tomcat is started.
I shot this request
[
{
"created_at": "Sat Jul 26 09:38:57 +0000 2014",
"id": 492967299297845248,
"id_str": "492967299297845248",
"text": "Gonna see you at Warsaw",
"place":
{
"attributes":{},
"bounding_box":
{
"coordinates":
[[
[-77.119759,38.791645],
[-76.909393,38.791645],
[-76.909393,38.995548],
[-77.119759,38.995548]
]],
"type":"Polygon"
},
"country":"United States",
"country_code":"US",
"full_name":"Washington, DC",
"id":"01fbe706f872cb32",
"name":"Washington",
"place_type":"city",
"url": "http://api.twitter.com/1/geo/id/01fbe706f872cb32.json"
}
}
]
to /api/{pairId} endpoint
with pairID equal to 13 and got 500 back and in logs this:
2014-12-04 12:14:35.473+0100 | DEBUG | dc3414b6-0a26-4422-8ff4-a4b22a667281 | http-nio-8095-exec-9 | c.o.i.w.r.c.RestTemplate | POST request for "http://localhost:10000/1" resulted in 200 (OK)
2014-12-04 12:14:35.478+0100 | DEBUG | dc3414b6-0a26-4422-8ff4-a4b22a667281 | http-nio-8095-exec-9 | c.o.t.p.e.PlacePropagatingWorker | Sent json [[
{
"pair_id" : 1,
"tweet_id" : "492967299297845248"
,"place" :
{
"name":"Washington",
"country_code": "US"
},
"probability" : "2",
"origin" : "twitter_place_section"
}
]] to collerator
2014-12-04 12:14:35.484+0100 | DEBUG | dc3414b6-0a26-4422-8ff4-a4b22a667281 | http-nio-8095-exec-9 | c.o.i.w.c.CorrelationIdAspect | Wrapping callable with correlation id [dc3414b6-0a26-4422-8ff4-a4b22a667281]
2014-12-04 12:14:35.499+0100 | DEBUG | dc3414b6-0a26-4422-8ff4-a4b22a667281 | http-nio-8095-exec-6 | c.o.i.w.c.CorrelationIdFilter | Found correlationId in response: dc3414b6-0a26-4422-8ff4-a4b22a667281
2014-12-04 12:14:35.511+0100 | ERROR | | http-nio-8095-exec-6 | o.a.c.c.C.[.[.[.[dispatcherServlet] | Servlet.service() for servlet dispatcherServlet threw exception
java.lang.NullPointerException: null
at com.ofg.infrastructure.web.correlationid.CorrelationIdAspect$_wrapWithCorrelationId_closure1.doCall(CorrelationIdAspect.groovy:68) ~[micro-infra-spring-base-0.7.1.jar:na]
at com.ofg.infrastructure.web.correlationid.CorrelationIdAspect$_wrapWithCorrelationId_closure1.call(CorrelationIdAspect.groovy) ~[micro-infra-spring-base-0.7.1.jar:na]
at com.ofg.infrastructure.correlationid.CorrelationCallable.call(CorrelationCallable.groovy:33) ~[micro-infra-spring-base-0.7.1.jar:na]
at org.springframework.web.context.request.async.WebAsyncManager$4.run(WebAsyncManager.java:322) ~[spring-web-4.0.7.RELEASE.jar:4.0.7.RELEASE]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_05]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_05]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05]
2014-12-04 12:14:35.513+0100 | ERROR | | http-nio-8095-exec-6 | o.a.c.c.C.[.[.[.[dispatcherServlet] | Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException: null
at com.ofg.infrastructure.web.correlationid.CorrelationIdAspect$_wrapWithCorrelationId_closure1.doCall(CorrelationIdAspect.groovy:68) ~[micro-infra-spring-base-0.7.1.jar:na]
at com.ofg.infrastructure.web.correlationid.CorrelationIdAspect$_wrapWithCorrelationId_closure1.call(CorrelationIdAspect.groovy) ~[micro-infra-spring-base-0.7.1.jar:na]
at com.ofg.infrastructure.correlationid.CorrelationCallable.call(CorrelationCallable.groovy:33) ~[micro-infra-spring-base-0.7.1.jar:na]
at org.springframework.web.context.request.async.WebAsyncManager$4.run(WebAsyncManager.java:322) ~[spring-web-4.0.7.RELEASE.jar:4.0.7.RELEASE]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_05]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_05]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05]
the code is available here:
https://github.com/4finance/boot-microservice/tree/modelForTweets
what I did was that instead of String body I introduced a model (so that Swagger shows it in a nice way)
If we add gradle config we can get a lot of valuable info as rest endpoints
That way we can print app version, commit hash and any other thing that we need.
From current master:
com.ofg.twitter.geb.HealthEndpointUISpec > Setup step FAILED
org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM
Command duration or timeout: 338 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'testing-worker-linux-e7a62211-1-21232-linux-13-50406087', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-042stab090.5', java.version: '1.8.0_31'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=31.0, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: db6420dc-750d-44f5-a15e-7ab4f9b88eeb
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
at geb.navigator.NonEmptyNavigator.click(NonEmptyNavigator.groovy:455)
at geb.content.TemplateDerivedPageContent.click(TemplateDerivedPageContent.groovy:113)
at com.ofg.twitter.geb.HealthEndpointUISpec.Setup step(HealthEndpointUISpec.groovy:27)
Caused by:
org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'testing-worker-linux-e7a62211-1-21232-linux-13-50406087', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-042stab090.5', java.version: '1.8.0_31'
Driver info: driver.version: unknown
@thiefik Do you have idea what else could be wrong after the last enhancements?
People with Windows complain that they cannot build a project without git set.
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'org.ajoberstar:gradle-git:0.12.0'
}
}
task addHashFile << {
ext.repo = org.ajoberstar.grgit.Grgit.open(project.file('.'))
new File("commitHash.txt").withWriter { it << "'${repo.head().id}'" }
}
Package name/groupId of all the classes/artifacts should be migrated from com.ofg
to com.4financeit
.
I don't sure that it is an issue of library, but I can't use any of beans defined in com.ofg.infrastructure.healthcheck.HealthCheckConfiguration because all of them have @PackageScope annotation.
Maybe there is a workaround how to use these beans?
Or some example?
Usually there is no need to run functional tests on every build and should be executed with different task.
When I build and try to run app on clean mac im getting warring "Unable to find dependency [group:com.ofg, module:stub-runner-examples, version:*, transitive:false] in local repository" which results in failing of app start.
Steps :
"./gradlew clean build "
"cd ./build/libs"
"java -Dspring.profiles.active=dev -jar boot-microservice.jar"
I tried to set "stubrunner.stubs.skip-local-repo: true" in "application.yml" but it did not help, during startup app uses " StubRunnerConfiguration$LocalFirstDependencyResolver" and fails.
If I clone "stub-runner-examples" and build local artifact im able to run "boot-microservice" app locally.
Dependencie tree:
+--- com.github.tomakehurst:wiremock:1.52 (*)
+--- com.ofg:micro-infra-spring-test:0.7.3
| \--- com.ofg:micro-deps-spring-test-config:0.5.3
| +--- org.springframework:spring-context:4.1.3.RELEASE (*)
| +--- com.ofg:micro-deps:0.7.4 (*)
| +--- com.ofg:stub-runner-spring:0.2.3 (*)
| +--- com.ofg:micro-deps-spring-config:0.5.3 (*)
| +--- cglib:cglib-nodep:3.1
| +--- org.objenesis:objenesis:2.1
| +--- org.aspectj:aspectjweaver:1.8.4
| +--- org.spockframework:spock-core:0.7-groovy-2.0 (*)
| +--- org.spockframework:spock-spring:0.7-groovy-2.0
| | \--- org.spockframework:spock-core:0.7-groovy-2.0 (*)
| +--- org.springframework:spring-webmvc:4.1.3.RELEASE (*)
| +--- org.springframework:spring-test:4.1.3.RELEASE (*)
| \--- com.github.tomakehurst:wiremock:1.52 (*)
\--- org.spockframework:spock-spring:0.7-groovy-2.0 (*)
Stack trace :
2015-01-10 23:04:19.426+0100 | INFO | | main | c.o.s.c.StubRunnerConfiguration$LocalFirstDependencyResolver | Resolving dependency [group:com.ofg, module:stub-runner-examples, version:*, transitive:false] location in local repository...
2015-01-10 23:04:44.933+0100 | WARN | | main | c.o.s.c.StubRunnerConfiguration$LocalFirstDependencyResolver | Unable to find dependency [group:com.ofg, module:stub-runner-examples, version:*, transitive:false] in local repository
2015-01-10 23:04:47.839+0100 | WARN | | main | o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext | Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchStubRunner' defined in class path resource [com/ofg/stub/config/StubRunnerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.stub.StubRunning]: Factory method 'batchStubRunner' threw exception; nested exception is java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:602) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111) ~[spring-beans-
4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109) [spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691) [spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) [spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.springframework.boot.SpringApplication$run.call(Unknown Source) [spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.twitter.Application.main(Application.groovy:27) [boot-microservice.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [boot-microservice.jar!/:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.stub.StubRunning]: Factory method 'batchStubRunner' threw exception; nested exception is java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
... 25 common frames omitted
Caused by: java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_25]
at java.lang.reflect.Constructor.newInstance(Constructor.java:408) ~[na:1.8.0_25]
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) [groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:421) ~[groovy-all-2.3.7.jar!/:2.3.7]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:166) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:566) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.GrapeIvy$resolve$2.callCurrent(Unknown Source) ~[na:na]
at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:531) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.Grape.resolve(Grape.java:198) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.Grape.resolve(Grape.java:184) ~[groovy-all-2.3.7.jar!/:2.3.7]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.stub.config.StubRunnerConfiguration$DependencyResolver.resolveDependencyLocation(StubRunnerConfiguration.groovy:202) ~[stub-runner-spring-0.2.3.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration$DependencyResolver$resolveDependencyLocation.call(Unknown Source) ~[na:na]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.stub.config.StubRunnerConfiguration$LocalFirstDependencyResolver.resolveDependency(StubRunnerConfiguration.groovy:180) ~[stub-runner-spring-0.2.3.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:68) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.stub.config.StubRunnerConfiguration.findGrabbedStubJars(StubRunnerConfiguration.groovy:116) ~[stub-runner-spring-0.2.3.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration.batchStubRunner(StubRunnerConfiguration.groovy:90) ~[stub-runner-spring-0.2.3.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07.CGLIB$batchStubRunner$20(<generated>) ~[spring-core-4.1.3.RELEASE.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07$$FastClassBySpringCGLIB$$7fe68dd2.invoke(<generated>) ~[spring-core-4.1.3.RELEASE.jar!/:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07.batchStubRunner(<generated>) ~[spring-core-4.1.3.RELEASE.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
... 26 common frames omitted
2015-01-10 23:04:47.860+0100 | INFO | | ProcessThread(sid:0 cport:-1): | o.a.z.s.PrepRequestProcessor | Processed session termination for sessionid: 0x14ad5e048240000
2015-01-10 23:04:47.862+0100 | INFO | | main | o.a.z.ZooKeeper | Session: 0x14ad5e048240000 closed
2015-01-10 23:04:47.862+0100 | INFO | | main-EventThread | o.a.z.ClientCnxn | EventThread shut down
2015-01-10 23:04:47.863+0100 | INFO | | NIOServerCxn.Factory:0.0.0.0/0.0.0.0:45636 | o.a.z.s.NIOServerCnxn | Closed socket connection for client /127.0.0.1:52735 which had sessionid 0x14ad5e048240000
2015-01-10 23:04:47.863+0100 | INFO | | NIOServerCxn.Factory:0.0.0.0/0.0.0.0:45636 | o.a.z.s.NIOServerCnxnFactory | NIOServerCnxn factory exited run method
2015-01-10 23:04:47.864+0100 | INFO | | Thread-4 | o.a.z.s.ZooKeeperServer | shutting down
2015-01-10 23:04:47.864+0100 | INFO | | main | o.a.z.s.ZooKeeperServer | shutting down
2015-01-10 23:04:47.864+0100 | INFO | | Thread-4 | o.a.z.s.SessionTrackerImpl | Shutting down
2015-01-10 23:04:47.864+0100 | INFO | | main | o.a.z.s.SessionTrackerImpl | Shutting down
2015-01-10 23:04:47.864+0100 | INFO | | Thread-4 | o.a.z.s.PrepRequestProcessor | Shutting down
2015-01-10 23:04:47.864+0100 | INFO | | main | o.a.z.s.PrepRequestProcessor | Shutting down
2015-01-10 23:04:47.864+0100 | INFO | | main | o.a.z.s.SyncRequestProcessor | Shutting down
2015-01-10 23:04:47.864+0100 | INFO | | Thread-4 | o.a.z.s.SyncRequestProcessor | Shutting down
2015-01-10 23:04:47.865+0100 | INFO | | ProcessThread(sid:0 cport:-1): | o.a.z.s.PrepRequestProcessor | PrepRequestProcessor exited loop!
2015-01-10 23:04:47.865+0100 | INFO | | SyncThread:0 | o.a.z.s.SyncRequestProcessor | SyncRequestProcessor exited!
2015-01-10 23:04:47.865+0100 | INFO | | main | o.a.z.s.FinalRequestProcessor | shutdown of request processor complete
2015-01-10 23:04:47.866+0100 | INFO | | Thread-4 | o.a.z.s.FinalRequestProcessor | shutdown of request processor complete
2015-01-10 23:04:48.002+0100 | INFO | | SessionTracker | o.a.z.s.SessionTrackerImpl | SessionTrackerImpl exited loop!
2015-01-10 23:04:48.064+0100 | INFO | | main | o.s.o.j.LocalContainerEntityManagerFactoryBean | Closing JPA EntityManagerFactory for persistence unit 'default'
2015-01-10 23:04:48.065+0100 | INFO | | main | o.h.t.h.SchemaExport | HHH000227: Running hbm2ddl schema export
2015-01-10 23:04:48.069+0100 | INFO | | main | o.h.t.h.SchemaExport | HHH000230: Schema export complete
2015-01-10 23:04:48.071+0100 | INFO | | main | o.a.c.c.StandardService | Stopping service Tomcat
2015-01-10 23:04:48.086+0100 | INFO | | main | o.s.b.l.ClasspathLoggingApplicationListener | Application failed to start with classpath: [jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-web-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-actuator-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-data-jpa-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-context-support-4.1.1.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/groovy-all-2.3.7.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-mapper-asl-1.9.13.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-core-asl-1.9.13.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/guava-18.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-lang3-3.3.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json-path-assert-1.2.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/snakeyaml-1.14.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/validation-api-1.1.0.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hibernate-validator-5.1.3.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/gpars-1.2.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/ehcache-2.9.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-infra-spring-boot-starter-0.7.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-tomcat-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-core-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-web-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-webmvc-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-actuator-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-aop-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-jdbc-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hibernate-entitymanager-4.3.7.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-orm-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-data-jpa-1.7.1.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-aspects-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hamcrest-core-1.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/slf4j-api-1.7.7.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json-path-1.2.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hamcrest-library-1.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jboss-logging-3.1.3.GA.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/classmate-1.0.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/multiverse-core-0.7.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jsr166y-1.7.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-infra-spring-0.7.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-autoconfigure-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-boot-starter-logging-1.2.0.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/tomcat-embed-core-8.0.15.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/tomcat-embed-logging-juli-8.0.15.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/tomcat-embed-websocket-8.0.15.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-aop-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-expression-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/aspectjweaver-1.8.4.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-jdbc-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/tomcat-jdbc-8.0.15.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-tx-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jboss-logging-annotations-1.2.0.Beta1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hibernate-core-4.3.7.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/dom4j-1.6.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hibernate-commons-annotations-4.0.5.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/javassist-3.18.1-GA.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-data-commons-1.9.1.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jcl-over-slf4j-1.7.7.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json-smart-2.1.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-infra-spring-base-0.7.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-infra-hystrix-0.7.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-infra-spring-swagger-0.7.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-infra-spring-swagger-ui-0.7.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jul-to-slf4j-1.7.7.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/log4j-over-slf4j-1.7.7.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/logback-classic-1.1.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/tomcat-juli-8.0.15.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/antlr-2.7.7.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jandex-1.1.0.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/xml-apis-1.0.b2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/asm-1.0.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-deps-spring-config-0.5.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/metrics-core-3.0.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/metrics-graphite-3.0.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/asyncretry-jdk7-0.0.6.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/hystrix-core-1.4.0-RC5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/swagger-springmvc-0.9.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/logback-core-1.1.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/asm-3.3.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/rxjava-core-0.20.4.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/archaius-core-0.4.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/swagger-core_2.10-1.3.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/swagger-models-0.9.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/micro-deps-0.7.4.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/stub-runner-spring-0.2.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-configuration-1.8.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-module-scala_2.10-2.1.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-module-jsonSchema-2.1.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-jaxrs-json-provider-2.0.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/swagger-annotations-1.3.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json4s-ext_2.10-3.2.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json4s-native_2.10-3.2.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json4s-jackson_2.10-3.2.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/curator-x-discovery-2.7.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/curator-test-2.7.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/http-builder-0.7.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/ivy-2.3.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/stub-runner-0.3.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/scala-library-2.10.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/scala-reflect-2.10.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-module-jaxb-annotations-2.0.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jsr311-api-1.1.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/joda-time-2.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/joda-convert-1.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json4s-core_2.10-3.2.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/curator-recipes-2.7.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/zookeeper-3.4.6.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-math-2.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json-lib-2.3-jdk15.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/nekohtml-1.9.16.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/xml-resolver-1.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/wiremock-1.52.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/args4j-2.0.29.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/javax.servlet-api-3.0.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json4s-ast_2.10-3.2.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/scalap-2.10.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/curator-framework-2.7.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/log4j-1.2.16.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jline-0.9.94.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/netty-3.7.0.Final.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-codec-1.6.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-beanutils-1.8.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-collections-3.2.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/ezmorph-1.0.6.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/xercesImpl-2.9.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/xmlunit-1.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jetty-6.1.26.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jsonassert-1.2.3.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jopt-simple-4.7.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/curator-client-2.7.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jetty-util-6.1.26.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/json-20090211.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-databind-2.4.4.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/tomcat-embed-el-8.0.15.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-beans-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/spring-context-4.1.3.RELEASE.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/aspectjrt-1.8.4.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/aopalliance-1.0.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-lang-2.6.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-core-2.4.4.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/jackson-annotations-2.4.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/paranamer-2.5.6.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/httpclient-4.3.5.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/commons-logging-1.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/httpcore-4.3.2.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/cglib-nodep-3.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/objenesis-2.1.jar!/, jar:file:/Users/oskars/private/boot-microservice/build/libs/boot-microservice.jar!/lib/h2-1.4.182.jar!/]
2015-01-10 23:04:48.088+0100 | INFO | | main | o.s.b.a.l.AutoConfigurationReportLoggingInitializer |
Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)
2015-01-10 23:04:48.096+0100 | ERROR | | main | o.s.b.SpringApplication | Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchStubRunner' defined in class path resource [com/ofg/stub/config/StubRunnerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.stub.StubRunning]: Factory method 'batchStubRunner' threw exception; nested exception is java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:602) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109) ~[spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691) ~[spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) ~[spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.springframework.boot.SpringApplication$run.call(Unknown Source) [spring-boot-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.twitter.Application.main(Application.groovy:27) [boot-microservice.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [boot-microservice.jar!/:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.stub.StubRunning]: Factory method 'batchStubRunner' threw exception; nested exception is java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
... 25 common frames omitted
Caused by: java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_25]
at java.lang.reflect.Constructor.newInstance(Constructor.java:408) ~[na:1.8.0_25]
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) [groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:421) ~[groovy-all-2.3.7.jar!/:2.3.7]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:166) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:566) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.GrapeIvy$resolve$2.callCurrent(Unknown Source) ~[na:na]
at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:531) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.Grape.resolve(Grape.java:198) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.grape.Grape.resolve(Grape.java:184) ~[groovy-all-2.3.7.jar!/:2.3.7]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) ~[groovy-all-2.3.7.jar!/:2.3.7]
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.stub.config.StubRunnerConfiguration$DependencyResolver.resolveDependencyLocation(StubRunnerConfiguration.groovy:202) ~[stub-runner-spring-0.2.3.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration$DependencyResolver$resolveDependencyLocation.call(Unknown Source) ~[na:na]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.stub.config.StubRunnerConfiguration$LocalFirstDependencyResolver.resolveDependency(StubRunnerConfiguration.groovy:180) ~[stub-runner-spring-0.2.3.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:68) ~[groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.3.7.jar!/:2.3.7]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) [groovy-all-2.3.7.jar!/:2.3.7]
at com.ofg.stub.config.StubRunnerConfiguration.findGrabbedStubJars(StubRunnerConfiguration.groovy:116) ~[stub-runner-spring-0.2.3.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration.batchStubRunner(StubRunnerConfiguration.groovy:90) ~[stub-runner-spring-0.2.3.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07.CGLIB$batchStubRunner$20(<generated>) ~[spring-core-4.1.3.RELEASE.jar!/:na]
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07$$FastClassBySpringCGLIB$$7fe68dd2.invoke(<generated>) ~[spring-core-4.1.3.RELEASE.jar!/:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07.batchStubRunner(<generated>) ~[spring-core-4.1.3.RELEASE.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.3.RELEASE.jar!/:4.1.3.RELEASE]
... 26 common frames omitted
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:483)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchStubRunner' defined in class path resource [com/ofg/stub/config/StubRunnerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.stub.StubRunning]: Factory method 'batchStubRunner' threw exception; nested exception is java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:602)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
at org.springframework.boot.SpringApplication$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.ofg.twitter.Application.main(Application.groovy:27)
... 6 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.stub.StubRunning]: Factory method 'batchStubRunner' threw exception; nested exception is java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
... 25 more
Caused by: java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-runner-examples;latest.default: not found]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:421)
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:483)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:166)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:566)
at groovy.grape.GrapeIvy$resolve$2.callCurrent(Unknown Source)
at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:531)
at groovy.grape.Grape.resolve(Grape.java:198)
at groovy.grape.Grape.resolve(Grape.java:184)
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:483)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169)
at com.ofg.stub.config.StubRunnerConfiguration$DependencyResolver.resolveDependencyLocation(StubRunnerConfiguration.groovy:202)
at com.ofg.stub.config.StubRunnerConfiguration$DependencyResolver$resolveDependencyLocation.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.ofg.stub.config.StubRunnerConfiguration$LocalFirstDependencyResolver.resolveDependency(StubRunnerConfiguration.groovy:180)
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:483)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:68)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.ofg.stub.config.StubRunnerConfiguration.findGrabbedStubJars(StubRunnerConfiguration.groovy:116)
at com.ofg.stub.config.StubRunnerConfiguration.batchStubRunner(StubRunnerConfiguration.groovy:90)
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07.CGLIB$batchStubRunner$20(<generated>)
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07$$FastClassBySpringCGLIB$$7fe68dd2.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at com.ofg.stub.config.StubRunnerConfiguration$$EnhancerBySpringCGLIB$$a57bb07.batchStubRunner(<generated>)
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:483)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 26 more
oskarss-MacBook-Pro:libs oskars$
Issue by marcingrzejszczak
Tuesday Nov 25, 2014 at 16:14 GMT
Originally opened as 4finance/boot-microservice-gui#3
Maybe I've done sth wrong but after bumping up micro-infra-spring, when I want to access /index.html I get redirected to Swagger... Check out the branch: https://github.com/4finance/boot-microservice-gui/tree/updatingMicroInfra for an example of such a scenario (4finance/boot-microservice-gui@b5e41b9).
ideally the script should ask you few questions (or have them passed as program arguments) with things like project name, root package, url to properties repo etc. and create a new copy of the app
I have microservice.json:
{ "rest": { "this": "greeting" } }
and rest controller:
@RestController
@RequestMapping("rest")
public class GreetingController {
private static final String template = "Hello, %s!";
private final AtomicLong counter = new AtomicLong();
@RequestMapping("/greeting")
public Greeting greeting(@RequestParam(value="name", defaultValue="World") String name) {
return new Greeting(counter.incrementAndGet(),
String.format(template, name));
}
}
and app configuration:
@SpringBootApplication
@EnableServiceDiscovery
@EnableServiceRestClient
@PropertySource("classpath:prop.properties")
public class ApplicationServer {
public static void main(String[] args) {
ApplicationContext ctx = SpringApplication.run(ApplicationServer.class, args);
ServiceRestClient serviceRestClient = (ServiceRestClient) ctx.getBean("serviceRestClient");
String response = serviceRestClient.forService("greeting")
.get()
.onUrl("greeting")
.anObject()
.ofType(String.class);
System.out.println(response);
}
}
So when I start the app I get exception:
java.util.NoSuchElementException: greeting is not our dependency, available: []
at com.ofg.infrastructure.discovery.ZookeeperServiceResolver.resolveAlias(ZookeeperServiceResolver.groovy:46)
.....
It seems like "greeting " is not registered in zooKeeper.
This is a screenshot of my exhibitor:
http://screencast.com/t/glmCCUly
And this is a log:
http://screencast.com/t/v6805dIE
When deploying to staging environment there is pretty visible additional character printed before the 4f banner.
Application is run with these active profiles: prod
<U+FEFF>
__ __ ______ __ ______ ________
| \ | \ / \ | \ | \| \
| $$ | $$| $$$$$$\ \$$ _______ ______ _______ _______ ______ \$$$$$$ \$$$$$$$$
| $$__| $$| $$_ \$$| \| \ | \ | \ / \ / \ | $$ | $$
| $$ $$| $$ \ | $$| $$$$$$$\ \$$$$$$\| $$$$$$$\| $$$$$$$| $$$$$$\ | $$ | $$
\$$$$$$$$| $$$$ | $$| $$ | $$ / $$| $$ | $$| $$ | $$ $$ | $$ | $$
| $$| $$ | $$| $$ | $$| $$$$$$$| $$ | $$| $$_____ | $$$$$$$$ _| $$_ | $$
| $$| $$ | $$| $$ | $$ \$$ $$| $$ | $$ \$$ \ \$$ \| $$ \ | $$
\$$ \$$ \$$ \$$ \$$ \$$$$$$$ \$$ \$$ \$$$$$$$ \$$$$$$$ \$$$$$$ \$$
Wanna join? Visit: http://www.4financeit.com/
Can't run fresh microservice with:
-DAPP_ENV="prod" -DCONFIG_FOLDER="properties" -Dencrypt.key="secretEncryptKey" -Dspring.profiles.active=dev
from Intellij Idea.
output:
2015-04-07 21:58:05.320+0200 | WARN | | main | o.s.c.a.AnnotationConfigApplicationContext | Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertySourceBootstrapConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:125) [spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:75) [spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:1) [spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) [spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) [spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:59) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:285) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication$run.call(Unknown Source) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.4.1.jar:2.4.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110) [groovy-all-2.4.1.jar:2.4.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122) [groovy-all-2.4.1.jar:2.4.1]
at com.ofg.twitter.Application.main(Application.groovy:23) [main/:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 26 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:996) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 28 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 40 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.fileSystemLocator(ExternalPropertiesConfiguration.java:26) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$fileSystemLocator$2(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.fileSystemLocator(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 41 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 62 common frames omitted
Caused by: java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at java.util.Objects.requireNonNull(Objects.java:228) ~[na:1.8.0]
at com.ofg.infrastructure.property.AppCoordinates.findEnvironment(AppCoordinates.java:80) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.AppCoordinates.defaults(AppCoordinates.java:31) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.appCoordinates(ExternalPropertiesConfiguration.java:34) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$appCoordinates$3(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 63 common frames omitted
2015-04-07 21:58:05.346+0200 | INFO | | main | o.s.b.l.ClasspathLoggingApplicationListener | Application failed to start with classpath: [file:/Users/piotr/Approdorix/approdorix-api/src/main/resources/, file:/Users/piotr/Approdorix/approdorix-api/build/classes/main/, file:/Users/piotr/Approdorix/approdorix-api/build/resources/main/, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-web/1.2.3.RELEASE/d4a2ea5c2dfa465054d9b2675ff7794d8d97f311/spring-boot-starter-web-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-actuator/1.2.3.RELEASE/e4cf4c22717f7e235909088d44eb2cea5a96de37/spring-boot-starter-actuator-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-data-jpa/1.2.3.RELEASE/c6acbb437aad944d4bc7272731381b0e93224519/spring-boot-starter-data-jpa-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context-support/4.1.6.RELEASE/9beaafd3f01cd377e36a2b1a9aed7c2c87111165/spring-context-support-4.1.6.RELEASE.jar, file:/Users/piotr/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar, file:/Users/piotr/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar, file:/Users/piotr/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar, file:/Users/piotr/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-el/8.0.20/8050b326d0ee31ba91b06e420b57efe77a6f0516/tomcat-embed-el-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path-assert/2.0.0/13d085f2950aff651a16acaf168affb59f6eaffa/json-path-assert-2.0.0.jar, file:/Users/piotr/.m2/repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar, file:/Users/piotr/.m2/repository/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjrt/1.8.5/39a8ff2d1f79267907f5573c090b342b040b9682/aspectjrt-1.8.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.gpars/gpars/1.2.1/c3ea0fbcd67a163bd5e3a3efdaa3428262d0d437/gpars-1.2.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.sf.ehcache/ehcache/2.9.1/1b8d6ec3a4e02958af7fd2b0b944056bbd08d5e0/ehcache-2.9.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-boot-starter/0.8.14/8101f0d445dcf6429a2de2fc8d86cf81fcf36555/micro-infra-spring-boot-starter-0.8.14.jar, file:/Users/piotr/.m2/repository/cglib/cglib-nodep/3.1/cglib-nodep-3.1.jar, file:/Users/piotr/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.5/6004670a8cbcbe794d73ad00106779561ad1b180/aspectjweaver-1.8.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.h2database/h2/1.4.185/b88c610b2df842752b889a438d0034f08e5fc2ce/h2-1.4.185.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/1.2.3.RELEASE/a50eea39bce85f09db0fc43d80e86aa767e8cc24/spring-boot-starter-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-tomcat/1.2.3.RELEASE/32de443f4e43ceee62c3e1e855fee076fec546b3/spring-boot-starter-tomcat-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/4.1.6.RELEASE/e2f486124d5dea2d91a9c2ea7d4456bc343ca2cc/spring-core-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/4.1.6.RELEASE/960101b25d0ec6f45d550bf92c00de8c6a584e6a/spring-web-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.1.6.RELEASE/e1ee19a5359f214d65cc18972df8aba17ce1e423/spring-webmvc-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-actuator/1.2.3.RELEASE/8f73f66b876390fda3c429e3fe22034bdb77e78/spring-boot-actuator-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-aop/1.2.3.RELEASE/7f46397536495f8b19e3dbba70bc7b32307120c6/spring-boot-starter-aop-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-jdbc/1.2.3.RELEASE/36a0f2be54d91dc8ac063e61d57e1a38d084ed83/spring-boot-starter-jdbc-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-entitymanager/4.3.8.Final/eeb1e6d969eb58627329e227da87ae284e93113d/hibernate-entitymanager-4.3.8.Final.jar, file:/Users/piotr/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-orm/4.1.6.RELEASE/d5b70acee6ddfab47786c31114c89b895654cb97/spring-orm-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-jpa/1.7.2.RELEASE/cc2be6b81771fca7c3d92c6277d00e65b19807b8/spring-data-jpa-1.7.2.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aspects/4.1.6.RELEASE/4667823d6133f9543f12e58ddb6747ee4e4d42a5/spring-aspects-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/4.1.6.RELEASE/ce2d409d470948f11fad41ffdf37dcff4d28cd7c/spring-beans-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.1.6.RELEASE/15f0b22bf89ed468badbc4eec759af2b916d33e4/spring-context-4.1.6.RELEASE.jar, file:/Users/piotr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path/2.0.0/26b8555596b3fb9652c1ffe193fa9123945b32cc/json-path-2.0.0.jar, file:/Users/piotr/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar, file:/Users/piotr/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/Users/piotr/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.multiverse/multiverse-core/0.7.0/db77d55199bc5672f05f5d725b70dd10033251ed/multiverse-core-0.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.jsr166-mirror/jsr166y/1.7.0/8547fcb1c29b4f8c745c3f49a536aca58fc30f54/jsr166y-1.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring/0.8.14/85a72a6a27959e79dd1def49b1d371de252348ff/micro-infra-spring-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-config/0.8.14/b7ba5bc47678236291d543dfd4fea41a06c565ff/micro-infra-spring-config-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/1.2.3.RELEASE/2601c81786dd8d88fd7e53af1a3950ef45fd5507/spring-boot-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/1.2.3.RELEASE/11175f217ac34bdacd6282cd44310f211121e270/spring-boot-autoconfigure-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/1.2.3.RELEASE/43093c137ea9c6d26ca6341e17295c0a6c506dfb/spring-boot-starter-logging-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/8.0.20/5810725255089f4d0b7ab19ac70b8c4a9cd8d4a3/tomcat-embed-core-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-logging-juli/8.0.20/234ee053b3dbd4bca2fc221a99d4f7d292d33e0b/tomcat-embed-logging-juli-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-websocket/8.0.20/b4914491d1baa90958e5c951bec7140e65874f3/tomcat-embed-websocket-8.0.20.jar, file:/Users/piotr/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/4.1.6.RELEASE/686c13ba57d9423dede9c5d580dcadc5c67a2761/spring-aop-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/4.1.6.RELEASE/8bf70887c2c883a6f6e552dbe46eec35c07adf6a/spring-expression-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jdbc/4.1.6.RELEASE/895d8f28e64c0445e3ee9461963406123f06821c/spring-jdbc-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-jdbc/8.0.20/7802cb686f4dec006ae31b86b283ddd45f4a3d/tomcat-jdbc-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-tx/4.1.6.RELEASE/b5beecfa930e0e2ce6fb3999eee3f69c4776e6be/spring-tx-4.1.6.RELEASE.jar, file:/Users/piotr/.m2/repository/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-core/4.3.8.Final/72afcf795dea9d787141fbf665924d634471dcbf/hibernate-core-4.3.8.Final.jar, file:/Users/piotr/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, file:/Users/piotr/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.jar, file:/Users/piotr/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar, file:/Users/piotr/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-commons/1.9.2.RELEASE/6f92f93d9f837ea8a97a99e9bb850d3a08974c99/spring-data-commons-1.9.2.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.1.1/922d12fb1f394e2b6999ae0f7936ab13f4dffb81/json-smart-2.1.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-base/0.8.14/eed97464f4e704a18e2efcf06a88489c3aa9bfa5/micro-infra-spring-base-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-swagger/0.8.14/645890da0b487d29ef30126a4ac2a3848575c99f/micro-infra-spring-swagger-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-swagger-ui/0.8.14/b164ac1736be664ff67ca81ddfb8ffe98c7a8d69/micro-infra-spring-swagger-ui-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-deps/0.8.14/a27df4f5914e3667f4907a31970c014663bf43c4/micro-deps-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-config-client/1.0.0.RELEASE/ce71b552ab775c423febfb8b67f58cc14c085f79/spring-cloud-config-client-1.0.0.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-config-server/1.0.0.RELEASE/cf4449518257c269878919db0615e78cad34348/spring-cloud-config-server-1.0.0.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-rsa/1.0.0.RELEASE/9f62da1bdf44186f5f4b42835d21dbeef5b8c592/spring-security-rsa-1.0.0.RELEASE.jar, file:/Users/piotr/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/1.7.11/87a1d59c837c57396bc20f433ee24ad3a59c7812/jul-to-slf4j-1.7.11.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/log4j-over-slf4j/1.7.11/4f51599470151c7b8ebec1d36767138f7fb7d427/log4j-over-slf4j-1.7.11.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.1.3/d90276fff414f06cb375f2057f6778cd63c6082f/logback-classic-1.1.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-juli/8.0.20/f1654901f9bd84c03c648099335dd2f7e7085f90/tomcat-juli-8.0.20.jar, file:/Users/piotr/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar, file:/Users/piotr/.m2/repository/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.minidev/asm/1.0.2/63900a15f524db0b8c4fb2d9e24c0cb179842ea5/asm-1.0.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-deps-spring-config/0.8.14/daebbbcc4ac13a246cc9407da4eb3b5725ef9035/micro-deps-spring-config-0.8.14.jar, file:/Users/piotr/.m2/repository/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0.jar, file:/Users/piotr/.m2/repository/io/dropwizard/metrics/metrics-jvm/3.1.0/metrics-jvm-3.1.0.jar, file:/Users/piotr/.m2/repository/io/dropwizard/metrics/metrics-graphite/3.1.0/metrics-graphite-3.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.nurkiewicz.asyncretry/asyncretry-jdk7/0.0.6/fefb428e2e56fed89b525d6064e8257aeb28e1c/asyncretry-jdk7-0.0.6.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-core/1.4.0-rc.9/8e3c61b1acdd21103aa4da0a4a276e8c4d6c9e8/hystrix-core-1.4.0-rc.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-metrics-event-stream/1.4.0-rc.9/702d3266a1373685139d754cdf29939b14218078/hystrix-metrics-event-stream-1.4.0-rc.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-codahale-metrics-publisher/1.4.0-rc.9/a032e52a755bcf72d13f1ff7c40688b73bf839d8/hystrix-codahale-metrics-publisher-1.4.0-rc.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.mangofactory/swagger-springmvc/0.9.5/89271a637ae467075e36dfbf057478d0a70b934e/swagger-springmvc-0.9.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-x-discovery/2.7.0/b73905510f3bbaaded82bee06e39c060d3e7d9ba/curator-x-discovery-2.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-test/2.7.0/72e147de62e6f062ff94cb80038c7f7207b92d39/curator-test-2.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy.modules.http-builder/http-builder/0.7.2/323092cd786480311c1cf693770f9e6fc20a8bef/http-builder-0.7.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-crypto/3.2.6.RELEASE/aca7f17fcf67670f1288ab834d642810dd4772d7/spring-security-crypto-3.2.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.eclipse.jgit/org.eclipse.jgit/3.5.3.201412180710-r/9f3781c7163ee6fa380a4518564a5abb097d9e27/org.eclipse.jgit-3.5.3.201412180710-r.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.tmatesoft.svnkit/svnkit/1.8.7/28c3e0c7e196bcb8ad59e77dcdd77e7cc68426b/svnkit-1.8.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk15on/1.47/cd204e6f26d2bbf65ff3a30de8831d3a1344e851/bcpkix-jdk15on-1.47.jar, file:/Users/piotr/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/stub-runner-spring/0.8.14/fdf30a175974624c16ca7f1cf919dcd8a85eab14/stub-runner-spring-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.wordnik/swagger-annotations/1.3.11/4a06a5b18ec544b22374b9c237ff2b9a3b97e764/swagger-annotations-1.3.11.jar, file:/Users/piotr/.m2/repository/joda-time/joda-time/2.5/joda-time-2.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.mangofactory/swagger-models/0.9.5/f49070371eb07e0f2e2a3a92d7e81b293d616e41/swagger-models-0.9.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.archaius/archaius-core/0.4.1/69e956ddf4543c989461352a214f32a014abd64a/archaius-core-0.4.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.0.7/a8f31a575e10a4b12a79a8912a51286b47af6817/rxjava-1.0.7.jar, file:/Users/piotr/.m2/repository/com/codahale/metrics/metrics-core/3.0.2/metrics-core-3.0.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-recipes/2.7.0/b8f8980c40ebe86f1eb693f282faa27a65a95379/curator-recipes-2.7.0.jar, file:/Users/piotr/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-math/2.2/4877b85d388275f994a5cfc7eceb73a8045d3006/commons-math-2.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.sf.json-lib/json-lib/2.3/f35340c0a0380141f62c72b76c8fb4bfa638d8c1/json-lib-2.3-jdk15.jar, file:/Users/piotr/.m2/repository/net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar, file:/Users/piotr/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar, file:/Users/piotr/.m2/repository/com/jcraft/jsch/0.1.50/jsch-0.1.50.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.googlecode.javaewah/JavaEWAH/0.7.9/eceaf316a8faf0e794296ebe158ae110c7d72a5a/JavaEWAH-0.7.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.svnkit-trilead-ssh2/0.0.7/95015f649026507428aa2f37baba69ba8a86dc67/jsch.agentproxy.svnkit-trilead-ssh2-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna-platform/4.1.0/23457ad1cf75c2c16763330de5565a0e67b4bc0a/jna-platform-4.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.1.0/1c12d070e602efd8021891cdd7fd18bc129372d4/jna-4.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.trilead/trilead-ssh2/1.0.0-build217/bd26b6a96923d5112cd20f821a16b589742ce1aa/trilead-ssh2-1.0.0-build217.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.connector-factory/0.0.7/780e0312287dd4e4f3601d401a073a081e403f2d/jsch.agentproxy.connector-factory-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/de.regnis.q.sequence/sequence-library/1.0.3/3bcf12fa805a735bb26369cd66c5933767c026de/sequence-library-1.0.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.tmatesoft.sqljet/sqljet/1.1.10/ede7fbabd4c96d34e48fda0e8feced24c98cedca/sqljet-1.1.10.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.47/b9a978600db6607a738f50e87082564b76a6ce9b/bcprov-jdk15on-1.47.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/stub-runner/0.8.14/866e7fa81ce496ee6a531f44ceb9dc52b9f7caf4/stub-runner-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.ivy/ivy/2.4.0/5abe4c24bbe992a9ac07ca563d5bd3e8d569e9ed/ivy-2.4.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/commons-configuration/commons-configuration/1.8/6cce40435bcd8018018f16898de01976b319941a/commons-configuration-1.8.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-framework/2.7.0/c586c41d21278779d7c14ac3c95cba7cf553c7d2/curator-framework-2.7.0.jar, file:/Users/piotr/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar, file:/Users/piotr/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar, file:/Users/piotr/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar, file:/Users/piotr/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar, file:/Users/piotr/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, file:/Users/piotr/.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar, file:/Users/piotr/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.core/0.0.7/9bcf818dc9e5247b01b1b18671a12caac293ae40/jsch.agentproxy.core-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.usocket-jna/0.0.7/98cf51ca8d7882c203729ffa48e9b7be4c50b835/jsch.agentproxy.usocket-jna-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.usocket-nc/0.0.7/aff6f0f3a68f9731580d7c48075fdf177532dfe6/jsch.agentproxy.usocket-nc-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.sshagent/0.0.7/5c09a3d2a0562de53cf616794f43f51a3c0a496c/jsch.agentproxy.sshagent-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.pageant/0.0.7/b40c0d9b10d79a0683ca93e3f70360b3d8045b62/jsch.agentproxy.pageant-0.0.7.jar, file:/Users/piotr/.m2/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.github.tomakehurst/wiremock/1.52/b1e46616ceb9bed099c82a45fb05975dc76316c0/wiremock-1.52.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/args4j/args4j/2.0.29/55ca4ddc4e906ffbaec043113b36bb410a3d909e/args4j-2.0.29.jar, file:/Users/piotr/.m2/repository/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-client/2.7.0/c3232ff89e991501b98e21dc29303cbb227ad57b/curator-client-2.7.0.jar, file:/Users/piotr/.m2/repository/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar, file:/Users/piotr/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar, file:/Users/piotr/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.skyscreamer/jsonassert/1.2.3/2cb01fdff70caf688561d877cea55451ab164527/jsonassert-1.2.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.7/3e19c15a38d0e864545acf635b1b69bd6e9f016b/jopt-simple-4.7.jar, file:/Users/piotr/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar, file:/Users/piotr/.m2/repository/org/json/json/20090211/json-20090211.jar, file:/Users/piotr/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.1/a9ca9c9de09361ec2a18d2c058d2524fbd8eae0c/groovy-all-2.4.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/jcl-over-slf4j/1.7.11/180246b7809ffae6293eea3d34e668ee948f0dc8/jcl-over-slf4j-1.7.11.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.5.0/489b7552dd3322b63f694122d16ce62c21c303b5/jackson-databind-2.5.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml/classmate/1.1.0/dbbd699a1486ad0f2ed6f5af6cfed66acacb9056/classmate-1.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.5/9783d89b8eea20a517a4afc5f979bd2882b54c44/httpclient-4.3.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar, file:/Users/piotr/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.1.3/e3c02049f2dbbc764681b40094ecf0dcbc99b157/logback-core-1.1.3.jar, file:/Users/piotr/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/Users/piotr/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.5.0/a2a55a3375bc1cef830ca426d68d2ea22961190e/jackson-annotations-2.5.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.5.0/b2ece1bd57ac7b4c315b7505b65ac79cb1da4270/jackson-core-2.5.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.11/7eaaaf2238f324e2b02dbd4d6ced6778b99328/slf4j-api-1.7.11.jar]
2015-04-07 21:58:05.347+0200 | INFO | | main | o.s.b.a.l.AutoConfigurationReportLoggingInitializer |
Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)
2015-04-07 21:58:05.352+0200 | ERROR | | main | o.s.b.SpringApplication | Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertySourceBootstrapConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:125) [spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:75) [spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:1) [spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) [spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) [spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:59) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:285) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication$run.call(Unknown Source) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.4.1.jar:2.4.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110) [groovy-all-2.4.1.jar:2.4.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122) [groovy-all-2.4.1.jar:2.4.1]
at com.ofg.twitter.Application.main(Application.groovy:23) [main/:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 26 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:996) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 28 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 40 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.fileSystemLocator(ExternalPropertiesConfiguration.java:26) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$fileSystemLocator$2(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.fileSystemLocator(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 41 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 62 common frames omitted
Caused by: java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at java.util.Objects.requireNonNull(Objects.java:228) ~[na:1.8.0]
at com.ofg.infrastructure.property.AppCoordinates.findEnvironment(AppCoordinates.java:80) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.AppCoordinates.defaults(AppCoordinates.java:31) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.appCoordinates(ExternalPropertiesConfiguration.java:34) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$appCoordinates$3(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 63 common frames omitted
2015-04-07 21:58:05.359+0200 | INFO | | main | o.s.b.l.ClasspathLoggingApplicationListener | Application failed to start with classpath: [file:/Users/piotr/Approdorix/approdorix-api/src/main/resources/, file:/Users/piotr/Approdorix/approdorix-api/build/classes/main/, file:/Users/piotr/Approdorix/approdorix-api/build/resources/main/, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-web/1.2.3.RELEASE/d4a2ea5c2dfa465054d9b2675ff7794d8d97f311/spring-boot-starter-web-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-actuator/1.2.3.RELEASE/e4cf4c22717f7e235909088d44eb2cea5a96de37/spring-boot-starter-actuator-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-data-jpa/1.2.3.RELEASE/c6acbb437aad944d4bc7272731381b0e93224519/spring-boot-starter-data-jpa-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context-support/4.1.6.RELEASE/9beaafd3f01cd377e36a2b1a9aed7c2c87111165/spring-context-support-4.1.6.RELEASE.jar, file:/Users/piotr/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar, file:/Users/piotr/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar, file:/Users/piotr/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar, file:/Users/piotr/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-el/8.0.20/8050b326d0ee31ba91b06e420b57efe77a6f0516/tomcat-embed-el-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path-assert/2.0.0/13d085f2950aff651a16acaf168affb59f6eaffa/json-path-assert-2.0.0.jar, file:/Users/piotr/.m2/repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar, file:/Users/piotr/.m2/repository/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjrt/1.8.5/39a8ff2d1f79267907f5573c090b342b040b9682/aspectjrt-1.8.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.gpars/gpars/1.2.1/c3ea0fbcd67a163bd5e3a3efdaa3428262d0d437/gpars-1.2.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.sf.ehcache/ehcache/2.9.1/1b8d6ec3a4e02958af7fd2b0b944056bbd08d5e0/ehcache-2.9.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-boot-starter/0.8.14/8101f0d445dcf6429a2de2fc8d86cf81fcf36555/micro-infra-spring-boot-starter-0.8.14.jar, file:/Users/piotr/.m2/repository/cglib/cglib-nodep/3.1/cglib-nodep-3.1.jar, file:/Users/piotr/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.5/6004670a8cbcbe794d73ad00106779561ad1b180/aspectjweaver-1.8.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.h2database/h2/1.4.185/b88c610b2df842752b889a438d0034f08e5fc2ce/h2-1.4.185.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/1.2.3.RELEASE/a50eea39bce85f09db0fc43d80e86aa767e8cc24/spring-boot-starter-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-tomcat/1.2.3.RELEASE/32de443f4e43ceee62c3e1e855fee076fec546b3/spring-boot-starter-tomcat-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/4.1.6.RELEASE/e2f486124d5dea2d91a9c2ea7d4456bc343ca2cc/spring-core-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/4.1.6.RELEASE/960101b25d0ec6f45d550bf92c00de8c6a584e6a/spring-web-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.1.6.RELEASE/e1ee19a5359f214d65cc18972df8aba17ce1e423/spring-webmvc-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-actuator/1.2.3.RELEASE/8f73f66b876390fda3c429e3fe22034bdb77e78/spring-boot-actuator-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-aop/1.2.3.RELEASE/7f46397536495f8b19e3dbba70bc7b32307120c6/spring-boot-starter-aop-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-jdbc/1.2.3.RELEASE/36a0f2be54d91dc8ac063e61d57e1a38d084ed83/spring-boot-starter-jdbc-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-entitymanager/4.3.8.Final/eeb1e6d969eb58627329e227da87ae284e93113d/hibernate-entitymanager-4.3.8.Final.jar, file:/Users/piotr/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-orm/4.1.6.RELEASE/d5b70acee6ddfab47786c31114c89b895654cb97/spring-orm-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-jpa/1.7.2.RELEASE/cc2be6b81771fca7c3d92c6277d00e65b19807b8/spring-data-jpa-1.7.2.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aspects/4.1.6.RELEASE/4667823d6133f9543f12e58ddb6747ee4e4d42a5/spring-aspects-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/4.1.6.RELEASE/ce2d409d470948f11fad41ffdf37dcff4d28cd7c/spring-beans-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.1.6.RELEASE/15f0b22bf89ed468badbc4eec759af2b916d33e4/spring-context-4.1.6.RELEASE.jar, file:/Users/piotr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path/2.0.0/26b8555596b3fb9652c1ffe193fa9123945b32cc/json-path-2.0.0.jar, file:/Users/piotr/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar, file:/Users/piotr/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/Users/piotr/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.multiverse/multiverse-core/0.7.0/db77d55199bc5672f05f5d725b70dd10033251ed/multiverse-core-0.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.jsr166-mirror/jsr166y/1.7.0/8547fcb1c29b4f8c745c3f49a536aca58fc30f54/jsr166y-1.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring/0.8.14/85a72a6a27959e79dd1def49b1d371de252348ff/micro-infra-spring-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-config/0.8.14/b7ba5bc47678236291d543dfd4fea41a06c565ff/micro-infra-spring-config-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/1.2.3.RELEASE/2601c81786dd8d88fd7e53af1a3950ef45fd5507/spring-boot-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/1.2.3.RELEASE/11175f217ac34bdacd6282cd44310f211121e270/spring-boot-autoconfigure-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/1.2.3.RELEASE/43093c137ea9c6d26ca6341e17295c0a6c506dfb/spring-boot-starter-logging-1.2.3.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/8.0.20/5810725255089f4d0b7ab19ac70b8c4a9cd8d4a3/tomcat-embed-core-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-logging-juli/8.0.20/234ee053b3dbd4bca2fc221a99d4f7d292d33e0b/tomcat-embed-logging-juli-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-websocket/8.0.20/b4914491d1baa90958e5c951bec7140e65874f3/tomcat-embed-websocket-8.0.20.jar, file:/Users/piotr/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/4.1.6.RELEASE/686c13ba57d9423dede9c5d580dcadc5c67a2761/spring-aop-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/4.1.6.RELEASE/8bf70887c2c883a6f6e552dbe46eec35c07adf6a/spring-expression-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jdbc/4.1.6.RELEASE/895d8f28e64c0445e3ee9461963406123f06821c/spring-jdbc-4.1.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-jdbc/8.0.20/7802cb686f4dec006ae31b86b283ddd45f4a3d/tomcat-jdbc-8.0.20.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework/spring-tx/4.1.6.RELEASE/b5beecfa930e0e2ce6fb3999eee3f69c4776e6be/spring-tx-4.1.6.RELEASE.jar, file:/Users/piotr/.m2/repository/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-core/4.3.8.Final/72afcf795dea9d787141fbf665924d634471dcbf/hibernate-core-4.3.8.Final.jar, file:/Users/piotr/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, file:/Users/piotr/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.jar, file:/Users/piotr/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar, file:/Users/piotr/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-commons/1.9.2.RELEASE/6f92f93d9f837ea8a97a99e9bb850d3a08974c99/spring-data-commons-1.9.2.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.1.1/922d12fb1f394e2b6999ae0f7936ab13f4dffb81/json-smart-2.1.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-base/0.8.14/eed97464f4e704a18e2efcf06a88489c3aa9bfa5/micro-infra-spring-base-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-swagger/0.8.14/645890da0b487d29ef30126a4ac2a3848575c99f/micro-infra-spring-swagger-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-infra-spring-swagger-ui/0.8.14/b164ac1736be664ff67ca81ddfb8ffe98c7a8d69/micro-infra-spring-swagger-ui-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-deps/0.8.14/a27df4f5914e3667f4907a31970c014663bf43c4/micro-deps-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-config-client/1.0.0.RELEASE/ce71b552ab775c423febfb8b67f58cc14c085f79/spring-cloud-config-client-1.0.0.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-config-server/1.0.0.RELEASE/cf4449518257c269878919db0615e78cad34348/spring-cloud-config-server-1.0.0.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-rsa/1.0.0.RELEASE/9f62da1bdf44186f5f4b42835d21dbeef5b8c592/spring-security-rsa-1.0.0.RELEASE.jar, file:/Users/piotr/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/1.7.11/87a1d59c837c57396bc20f433ee24ad3a59c7812/jul-to-slf4j-1.7.11.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/log4j-over-slf4j/1.7.11/4f51599470151c7b8ebec1d36767138f7fb7d427/log4j-over-slf4j-1.7.11.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.1.3/d90276fff414f06cb375f2057f6778cd63c6082f/logback-classic-1.1.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-juli/8.0.20/f1654901f9bd84c03c648099335dd2f7e7085f90/tomcat-juli-8.0.20.jar, file:/Users/piotr/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar, file:/Users/piotr/.m2/repository/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.minidev/asm/1.0.2/63900a15f524db0b8c4fb2d9e24c0cb179842ea5/asm-1.0.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/micro-deps-spring-config/0.8.14/daebbbcc4ac13a246cc9407da4eb3b5725ef9035/micro-deps-spring-config-0.8.14.jar, file:/Users/piotr/.m2/repository/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0.jar, file:/Users/piotr/.m2/repository/io/dropwizard/metrics/metrics-jvm/3.1.0/metrics-jvm-3.1.0.jar, file:/Users/piotr/.m2/repository/io/dropwizard/metrics/metrics-graphite/3.1.0/metrics-graphite-3.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.nurkiewicz.asyncretry/asyncretry-jdk7/0.0.6/fefb428e2e56fed89b525d6064e8257aeb28e1c/asyncretry-jdk7-0.0.6.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-core/1.4.0-rc.9/8e3c61b1acdd21103aa4da0a4a276e8c4d6c9e8/hystrix-core-1.4.0-rc.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-metrics-event-stream/1.4.0-rc.9/702d3266a1373685139d754cdf29939b14218078/hystrix-metrics-event-stream-1.4.0-rc.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-codahale-metrics-publisher/1.4.0-rc.9/a032e52a755bcf72d13f1ff7c40688b73bf839d8/hystrix-codahale-metrics-publisher-1.4.0-rc.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.mangofactory/swagger-springmvc/0.9.5/89271a637ae467075e36dfbf057478d0a70b934e/swagger-springmvc-0.9.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-x-discovery/2.7.0/b73905510f3bbaaded82bee06e39c060d3e7d9ba/curator-x-discovery-2.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-test/2.7.0/72e147de62e6f062ff94cb80038c7f7207b92d39/curator-test-2.7.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy.modules.http-builder/http-builder/0.7.2/323092cd786480311c1cf693770f9e6fc20a8bef/http-builder-0.7.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-crypto/3.2.6.RELEASE/aca7f17fcf67670f1288ab834d642810dd4772d7/spring-security-crypto-3.2.6.RELEASE.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.eclipse.jgit/org.eclipse.jgit/3.5.3.201412180710-r/9f3781c7163ee6fa380a4518564a5abb097d9e27/org.eclipse.jgit-3.5.3.201412180710-r.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.tmatesoft.svnkit/svnkit/1.8.7/28c3e0c7e196bcb8ad59e77dcdd77e7cc68426b/svnkit-1.8.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk15on/1.47/cd204e6f26d2bbf65ff3a30de8831d3a1344e851/bcpkix-jdk15on-1.47.jar, file:/Users/piotr/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/stub-runner-spring/0.8.14/fdf30a175974624c16ca7f1cf919dcd8a85eab14/stub-runner-spring-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.wordnik/swagger-annotations/1.3.11/4a06a5b18ec544b22374b9c237ff2b9a3b97e764/swagger-annotations-1.3.11.jar, file:/Users/piotr/.m2/repository/joda-time/joda-time/2.5/joda-time-2.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.mangofactory/swagger-models/0.9.5/f49070371eb07e0f2e2a3a92d7e81b293d616e41/swagger-models-0.9.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.netflix.archaius/archaius-core/0.4.1/69e956ddf4543c989461352a214f32a014abd64a/archaius-core-0.4.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.0.7/a8f31a575e10a4b12a79a8912a51286b47af6817/rxjava-1.0.7.jar, file:/Users/piotr/.m2/repository/com/codahale/metrics/metrics-core/3.0.2/metrics-core-3.0.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-recipes/2.7.0/b8f8980c40ebe86f1eb693f282faa27a65a95379/curator-recipes-2.7.0.jar, file:/Users/piotr/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-math/2.2/4877b85d388275f994a5cfc7eceb73a8045d3006/commons-math-2.2.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.sf.json-lib/json-lib/2.3/f35340c0a0380141f62c72b76c8fb4bfa638d8c1/json-lib-2.3-jdk15.jar, file:/Users/piotr/.m2/repository/net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar, file:/Users/piotr/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar, file:/Users/piotr/.m2/repository/com/jcraft/jsch/0.1.50/jsch-0.1.50.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.googlecode.javaewah/JavaEWAH/0.7.9/eceaf316a8faf0e794296ebe158ae110c7d72a5a/JavaEWAH-0.7.9.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.svnkit-trilead-ssh2/0.0.7/95015f649026507428aa2f37baba69ba8a86dc67/jsch.agentproxy.svnkit-trilead-ssh2-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna-platform/4.1.0/23457ad1cf75c2c16763330de5565a0e67b4bc0a/jna-platform-4.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.1.0/1c12d070e602efd8021891cdd7fd18bc129372d4/jna-4.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.trilead/trilead-ssh2/1.0.0-build217/bd26b6a96923d5112cd20f821a16b589742ce1aa/trilead-ssh2-1.0.0-build217.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.connector-factory/0.0.7/780e0312287dd4e4f3601d401a073a081e403f2d/jsch.agentproxy.connector-factory-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/de.regnis.q.sequence/sequence-library/1.0.3/3bcf12fa805a735bb26369cd66c5933767c026de/sequence-library-1.0.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.tmatesoft.sqljet/sqljet/1.1.10/ede7fbabd4c96d34e48fda0e8feced24c98cedca/sqljet-1.1.10.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.47/b9a978600db6607a738f50e87082564b76a6ce9b/bcprov-jdk15on-1.47.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.ofg/stub-runner/0.8.14/866e7fa81ce496ee6a531f44ceb9dc52b9f7caf4/stub-runner-0.8.14.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.ivy/ivy/2.4.0/5abe4c24bbe992a9ac07ca563d5bd3e8d569e9ed/ivy-2.4.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/commons-configuration/commons-configuration/1.8/6cce40435bcd8018018f16898de01976b319941a/commons-configuration-1.8.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-framework/2.7.0/c586c41d21278779d7c14ac3c95cba7cf553c7d2/curator-framework-2.7.0.jar, file:/Users/piotr/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar, file:/Users/piotr/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar, file:/Users/piotr/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar, file:/Users/piotr/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar, file:/Users/piotr/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, file:/Users/piotr/.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar, file:/Users/piotr/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.core/0.0.7/9bcf818dc9e5247b01b1b18671a12caac293ae40/jsch.agentproxy.core-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.usocket-jna/0.0.7/98cf51ca8d7882c203729ffa48e9b7be4c50b835/jsch.agentproxy.usocket-jna-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.usocket-nc/0.0.7/aff6f0f3a68f9731580d7c48075fdf177532dfe6/jsch.agentproxy.usocket-nc-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.sshagent/0.0.7/5c09a3d2a0562de53cf616794f43f51a3c0a496c/jsch.agentproxy.sshagent-0.0.7.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.jcraft/jsch.agentproxy.pageant/0.0.7/b40c0d9b10d79a0683ca93e3f70360b3d8045b62/jsch.agentproxy.pageant-0.0.7.jar, file:/Users/piotr/.m2/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.github.tomakehurst/wiremock/1.52/b1e46616ceb9bed099c82a45fb05975dc76316c0/wiremock-1.52.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/args4j/args4j/2.0.29/55ca4ddc4e906ffbaec043113b36bb410a3d909e/args4j-2.0.29.jar, file:/Users/piotr/.m2/repository/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.curator/curator-client/2.7.0/c3232ff89e991501b98e21dc29303cbb227ad57b/curator-client-2.7.0.jar, file:/Users/piotr/.m2/repository/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar, file:/Users/piotr/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar, file:/Users/piotr/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.skyscreamer/jsonassert/1.2.3/2cb01fdff70caf688561d877cea55451ab164527/jsonassert-1.2.3.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.7/3e19c15a38d0e864545acf635b1b69bd6e9f016b/jopt-simple-4.7.jar, file:/Users/piotr/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar, file:/Users/piotr/.m2/repository/org/json/json/20090211/json-20090211.jar, file:/Users/piotr/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.1/a9ca9c9de09361ec2a18d2c058d2524fbd8eae0c/groovy-all-2.4.1.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/jcl-over-slf4j/1.7.11/180246b7809ffae6293eea3d34e668ee948f0dc8/jcl-over-slf4j-1.7.11.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.5.0/489b7552dd3322b63f694122d16ce62c21c303b5/jackson-databind-2.5.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml/classmate/1.1.0/dbbd699a1486ad0f2ed6f5af6cfed66acacb9056/classmate-1.1.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.5/9783d89b8eea20a517a4afc5f979bd2882b54c44/httpclient-4.3.5.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar, file:/Users/piotr/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.1.3/e3c02049f2dbbc764681b40094ecf0dcbc99b157/logback-core-1.1.3.jar, file:/Users/piotr/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/Users/piotr/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.5.0/a2a55a3375bc1cef830ca426d68d2ea22961190e/jackson-annotations-2.5.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.5.0/b2ece1bd57ac7b4c315b7505b65ac79cb1da4270/jackson-core-2.5.0.jar, file:/Users/piotr/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.11/7eaaaf2238f324e2b02dbd4d6ced6778b99328/slf4j-api-1.7.11.jar]
2015-04-07 21:58:05.363+0200 | ERROR | | main | o.s.b.SpringApplication | Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertySourceBootstrapConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:125) ~[spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:75) ~[spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:1) ~[spring-cloud-config-client-1.0.0.RELEASE.jar:1.0.0.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:59) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:285) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication$run.call(Unknown Source) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.4.1.jar:2.4.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110) [groovy-all-2.4.1.jar:2.4.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122) [groovy-all-2.4.1.jar:2.4.1]
at com.ofg.twitter.Application.main(Application.groovy:23) [main/:na]
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertySourceBootstrapConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 26 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:125)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:75)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:1)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128)
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:59)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:285)
at org.springframework.boot.SpringApplication$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
at com.ofg.twitter.Application.main(Application.groovy:23)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 26 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:996)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
... 28 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 40 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.fileSystemLocator(ExternalPropertiesConfiguration.java:26)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$fileSystemLocator$2(<generated>)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.fileSystemLocator(<generated>)
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:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:996) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 28 common frames omitted
... 41 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 40 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 62 more
Caused by: java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at java.util.Objects.requireNonNull(Objects.java:228)
at com.ofg.infrastructure.property.AppCoordinates.findEnvironment(AppCoordinates.java:80)
at com.ofg.infrastructure.property.AppCoordinates.defaults(AppCoordinates.java:31)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.appCoordinates(ExternalPropertiesConfiguration.java:34)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$appCoordinates$3(<generated>)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>)
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:483)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 63 more
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.fileSystemLocator(ExternalPropertiesConfiguration.java:26) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$fileSystemLocator$2(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.fileSystemLocator(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 41 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 62 common frames omitted
Caused by: java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
at java.util.Objects.requireNonNull(Objects.java:228) ~[na:1.8.0]
at com.ofg.infrastructure.property.AppCoordinates.findEnvironment(AppCoordinates.java:80) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.AppCoordinates.defaults(AppCoordinates.java:31) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration.appCoordinates(ExternalPropertiesConfiguration.java:34) ~[micro-infra-spring-config-0.8.14.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.CGLIB$appCoordinates$3(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0$$FastClassBySpringCGLIB$$a0d6ebf6.invoke(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at com.ofg.infrastructure.property.ExternalPropertiesConfiguration$$EnhancerBySpringCGLIB$$c1ab65b0.appCoordinates(<generated>) ~[spring-core-4.1.6.RELEASE.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 63 common frames omitted
:bootRun FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bootRun'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 12.997 secs
Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
21:58:05: External task execution finished 'bootRun -DAPP_ENV="prod" -DCONFIG_FOLDER="properties" -Dencrypt.key="secretEncryptKey" -Dspring.profiles.active=dev'.
To not be forced to manually bump version in file if more than one version should be available in artifacts repository (to deploy in production by CI).
Properties APP_ENV, CONFIG_FOLDER and ENCRYPT_KEY have to be set without quotes. Like CONFIG_FOLDER=properties
Otherwise it search properties in path like this "properties""test"\com\ofg\ and it's not working
I am trying to find out if i can reuse /use your microservice-gui (/collaborators/view.html) together with a convenient spring boot cloud netflix microservice architecture. What do i have to do , where to look. I would appreciate if you can put some hints howto to get features of your stack running on spring boot cloud netflix base
After upgrade micro-infra to 0.8.1 should find a place by verifying tweet's coordinates
in com.ofg.twitter.places.AcceptanceSpec
fails with:
com.jayway.awaitility.core.ConditionTimeoutException: com.jayway.awaitility.core.ConditionFactory.untilAtomic Callable expected "\n [{\n \"pair_id\" : 1,\n \"tweet_id\" : \"492961315070439424\",\n \"place\" :\n {\n \"name\":\"Tappahannock\",\n \"country_code\": \"US\"\n },\n \"probability\" : \"2\",\n \"origin\" : \"twitter_coordinates_section\"\n }]\n " but was <[
{
"pair_id" : 1,
"tweet_id" : "492967299297845248"
,"place" :
{
"name":"Washington",
"country_code": "US"
},
"probability" : "2",
"origin" : "twitter_place_section"
}
]> within 2 seconds.
at com.jayway.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:96)
at com.jayway.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:87)
at com.jayway.awaitility.core.ConditionFactory.until(ConditionFactory.java:590)
at com.jayway.awaitility.core.ConditionFactory.untilAtomic(ConditionFactory.java:548)
at com.ofg.twitter.places.AcceptanceSpec.should find a place by verifying tweet's coordinates(AcceptanceSpec.groovy:65)
It works fine with .0.7.7.
Scenario:
I want to run
gradle bootRun -Dspring.profiles.active=prod
what I constantly receive is info that no spring profile has been passed.
WORKAROUND:
in build.gradle pass:
project.gradle.projectsEvaluated {
applicationDefaultJvmArgs = ['-Dspring.profiles.active=prod']
}
Maybe it makes ANY sense to you but believe it or not but Spring Boot takes System params from
a project property called 'applicationDefaultJvmArgs'. ?!
Is should set all needed variables.
Issue with com.ofg.mock.StubLoader
The current jar structure is as follows
/repository/mappings/foo/bar
and it should be
/mappings/foo/bar
com.ofg.twitter.place.extractor.ColleratorClient
is a perfect example
Is there any reason why we stick with Gradle 2.2.1 ?
@szpak ? :P
We already have smoke testing for REST API and Swagger GUI with Geb. Maybe it would useful to have some tests verifying that Hystrix (e.g. after version upgrade) still works, e.g. produces json and "see" requests?
Especially when running on shared Jenkins slave (like Hackathon in Prague).
Switch from firefox driver to phantomjs driver
http://phantomjs.org/
in Geb tests will give availability to run them without X server or xvbf.
For example on Jenkins on other CI, not only on Travis.
Do we have possibility to send requests for services are not Spring but JAX-RS?
Rest service:
import javax.ws.rs.*;
@get
@path("patient/chart")
@produces(MediaType.APPLICATION_JSON)
public Response getSomething() {
return Response.ok().build();
}
and app config:
ApplicationContext ctx = SpringApplication.run(MicroServiceConfig.class, args);
ServiceRestClient serviceRestClient = (ServiceRestClient) ctx.getBean("serviceRestClient");
String response = serviceRestClient.forService("main")
.get()
.onUrl("patient/chart")
.anObject()
.ofType(String.class);
System.out.println(response);
Result fails with error:
com.ofg.infrastructure.web.resttemplate.custom.ResponseException: Status code: [404], Headers: [[Server:[Apache-Coyote/1.1], Content-Type:[application/json;charset=UTF-8], Transfer-Encoding:[chunked], Date:[Fri, 08 May 2015 09:56:47 GMT]]], Body: [{"timestamp":1431079007055,"status":404,"error":"Not Found","message":"No message available","path":"/patient/chart"}]
How can we use JAX-RS instead of Spring REST ?
I will remove this awesome tools and replace them by ordinary static content so that we ensure that it's working everywhere even on Windows and Jenkins.
Currently there are only swagger tests which from time to time are broken and have to be disabled:
4finance/micro-infra-spring#532
It is easier to generate separate artifact for stubs from the same module.
Maybe we could add configurations to Vagrant / Docker set up to boot-microservice so that it can be ran in a box?
It does not occur so often, but to prevent reduce a change of port conflict when multiple clones of boot-microservice is run on shared Jenkins (e.g. at a hackathon) a port for Geb tests could be random.
To be able to do smoke testing on external instance (e.g. on staging environment).
Currently we have two appenders, one expected with proper logging strategy and 2nd console one, with no rolling where all stuff is logged.
Suggested improvement is to get rid of 2nd appender as it brings no value, causing only some problems when file of 2nd file is constantly growing.
Currently log4j is on classpath which can be confusing when choosing which Logger
to import. It should be excluded with optional usage of slf4j-over-log4j
if needed.
Environment:
Windows, JDK 8
Maven:
com.ofg
micro-infra-spring-base
0.8.3
When start the app (spring boot) - Application with annotation @EnableServiceDiscovery the following error occurs:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.stub.StubRunning]: Factory method 'batchStubRunner' threw exception; nested exception is com.ofg.stub.config.StubRunnerConfiguration$DependencyResolutionException: Unable to open connection with stub repository [http://nexus.4finance.net/content/repositories/Pipeline]. Reason: connection error -> Error grabbing Grapes -- [unresolved dependency: com.ofg#stub-definitions;latest.default: not found]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.