I was trying to make spring boot batch application
(2.0.0.RC1
) work with Spring cloud starter task
(2.0.0.M2
).
Getting a range of errors while making Spring cloud starter task
work with spring boot 2.x batch application.
I was able to run batch applicationspring-boot-starter-parent
(1.5.10.RELEASE
) with Spring cloud starter task(2.0.0.M2)
successfully.
Here is the screeenshot
But when I tried Spring cloud starter task(2.0.0.M2)
with spring boot 2.0.0.RC1
, I am getting following error.
com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id '' into a subtype of [simple type, class java.lang.Object]:
Here is the screenshot of the same.
So I decided to downgrade Spring boot to 2.0.0.M7
.Alas I am getting a different exception.
java.lang.IllegalStateException: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@61f78561 has been closed already.
Why this exceptions happens?Any help/guide would be appreciated.