Closed marcingrzejszczak closed 9 years ago
See https://github.com/4finance/boot-microservice/commit/020b16a460a0c46fd1f9ab4e0985da8708e255f5, it was an error in boot-microservice
itself, not micro-infra-spring
. However I get:
java.lang.IllegalStateException: No value for key [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean@12bdda3a] bound to thread [XNIO-1 I/O-1]
From Undertow in async context, can you check?
I have no idea what that is - what has Undertow to do with this anyway? I thought it's running on Jetty?
After upgrading micro-infra-spring
dependency to version 0.8.7 there is no such problem happening.
I shot this request
to /api/{pairId} endpoint
with pairID equal to 13 and got 500 back and in logs this:
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)