-
Notifications
You must be signed in to change notification settings - Fork 95
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
springboot 3.1.4 集成openjob,无工作节点 #163
Comments
@Jinger-Yes 这个错误是server 节点检查错误,和你说这问题,无关。有其它错误吗 |
希望支持springboot3。 无工作站节点的原因:worker初始化时没有读取到application.yml配置 |
看源码找到原因,原因是部分注解改包名了导致初始化失败,详细见OpenjobWorkerAutoConfiguration,因为SpringBoot3.x中@javax.annotation.PostConstruct包名变更为@jakarta.annotation.PostConstruct。另外还有spring.factories的问题,见我之前写过的一篇文章:https://www.cnblogs.com/throwable/p/16950353.html |
已经提交PR |
@zjcscut 可以的 |
什么时间更新版本? |
System (please complete the following information):
linux
[e.g. linux, macOS, windows]17
[e.g.1.13
]1.1.1
[e.g.1.1.1
]Describe the bug
springboot 3.1.4 集成openjob,无工作节点,server报错
目前发现是未正确读取yml文件造成worker没有初始化
To Reproduce
application.yml 配置文件
Expected behavior
Screenshots
工作站节点:
Server报错日志:
Additional context
The text was updated successfully, but these errors were encountered: