You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring Boot 2.1.M3 Issue
We found a BeanCreationException using Spring Boot 2.1 while creating a Spring Cloud Task application that uses JPA. In our example a user has marked a method (which executes a JPARepository.save) with the @BeforeTask annotation that allows Spring Cloud Task to call this method prior to ApplicationRunner. Specifically the BeanCreationException occurs when Spring Cloud Task TaskLifecycleListener (ApplicationLifecycleListener impl) tries to resolve the Component that contains the JPARepository Autowire.
Discussion
Had a discussion with Andy Wilkinson and he validated the case.