You are calling the @Async
method from another method in the same class. Unless you enable AspectJ proxy mode for the @EnableAsync
(and provide a weaver of course) that won’t work (google “proxy self-invocation”). The easiest fix is to put the @Async
method in another @Bean
.
More Related Contents:
- Spring Boot Configure and Use Two DataSources
- Filter invoke twice when register as Spring bean
- Spring Boot Adding Http Request Interceptors
- How to customise the Jackson JSON mapper implicitly used by Spring Boot?
- Spring Boot Multiple Datasource
- Spring Boot configure and use two data sources
- CORS allowed-origin restrictions aren’t causing the server to reject requests
- How to bind an object list with thymeleaf?
- How to set base url for rest in spring boot?
- More than one fragment with the name [spring_web] was found. This is not legal with relative ordering
- Filter order in spring-boot
- No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor
- How to configure embedded Tomcat integrated with Spring to listen requests to IP address, besides localhost?
- How to enable HTTP response caching in Spring Boot
- spring mvc rest service redirect / forward / proxy
- Spring Boot with redirecting with single page angular2
- HttpSecurity, WebSecurity and AuthenticationManagerBuilder
- Spring Boot Program cannot find main class
- Spring Boot Actuator without Spring Boot
- Configure ViewResolver with Spring Boot and annotations gives No mapping found for HTTP request with URI error
- Refreshing static content with Spring MVC and Boot
- What is username and password when starting Spring Boot with Tomcat?
- A Simple AJAX with JSP example
- Difference between Interceptor and Filter in Spring MVC
- Spring Security HTTP Basic for RESTFul and FormLogin (Cookies) for web – Annotations
- How to re-create database before each test in Spring?
- Trying to use Spring Boot REST to Read JSON String from POST
- Using @RequestParam for multipartfile is a right way?
- Programmatically restart Spring Boot application / Refresh Spring Context
- How I create an error handler (404, 500…) in Spring Boot/MVC