Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
844 views

Why can't I start an asynchronous task in a scheduled task using a virtual thread?

I am using Java 21 and Spring Boot 2.7.3. I used java.util.Timer to create a scheduled task, and then called the asynchronous method annotated with @Async annotation in this scheduled task. Then I ...
liang li's user avatar
  • 123