← All tasks
javaalibaba/spring-cloud-alibaba #4218Not a task: already works

Error executing task in version 2025.1.x: Spring task bean method not found.

envgap__alibaba__spring-cloud-alibaba-4218

01 / FAILURE SIGNATURE

As reported upstream

SchedulerX failed to recognize the Spring `@Scheduled` annotation, resulting in an error during task execution: "Spring task bean method not found".
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
061b02a994c286d6b6bc69517f0379454fe0b772
Manifest
spring-cloud-alibaba-dependencies/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

alibaba/spring-cloud-alibaba #4218 · read the original issue
**Which Component**
scheduling

**Describe the bug**
SchedulerX failed to recognize the Spring `@Scheduled` annotation, resulting in an error during task execution: "Spring task bean method not found".

We can debug the `com.alibaba.schedulerx.worker.processor.springscheduling.SchedulerxSchedulingConfigurer#configureTasks` method to find this problem.


**Additional context**
We have already communicated with schedulerx maintainers about the issue, and they will fix the Spring 7 compatibility problem as soon as possible.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]