Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The spring-cloud-scheduling-example project uses schedulerx configuration and reports an error when starting #3845

Closed
xyljobs opened this issue Sep 11, 2024 · 2 comments

Comments

@xyljobs
Copy link

xyljobs commented Sep 11, 2024

Which Component
schedulerX

Describe what problem you have encountered
Use Spring Cloud Alibaba source code, the code address is:https://github.com/alibaba/spring-cloud-alibaba/tree/2023.x/spring-cloud-alibaba-examples/spring-cloud-scheduling-example

Configure the endpoint, namespace, groupId, and appKey of schedulerx in application-schedulerx.yaml. Then start the project and the following exception is reported.
ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerxWorker' defined in class path resource [com/alibaba/cloud/scheduling/schedulerx/SchedulerxConfigurations$SchedulerxWorkerConfiguration.class]: Schedulerx WorkerConfig[groupId=agent_app, schedulerx.namespace=8eccbdec-896a-4c71-97e8-148c3115f620, address.server.domain=addr-gz-internal.edas.aliyuncs.com, domainName=]
2024-09-11T15:46:37.619+08:00 INFO 9104 --- [spring-cloud-alibaba-schedule-example] [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]

Describe what information you have read
I have read the reference doc of README.md,the address is: https://github.com/alibaba/spring-cloud-alibaba/blob/2023.x/spring-cloud-alibaba-examples/spring-cloud-scheduling-example/README.md)

@yuluo-yx yuluo-yx added kind/question area/scheduling distributed scheduling labels Sep 11, 2024
Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Oct 11, 2024
Copy link

This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants