-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add native-image support for AbstractJobRepositoryFactoryBean #4144
Comments
@mhalbritter Thank you for opening this issue. However, I'm not sure what should be done in Spring Batch (if any) to fix that. Can you offer some guidance here please? spring-projects/spring-framework#28745 has been fixed recently (after this issue was created), can you please check if the issue remains? I will give the batch sample a try on my side as well. @mdeinum Thank you for adding a reference to spring-projects/spring-framework#28745 here, that helped on following up on this issue! |
This could be indeed a problem in the Spring Framework. I will check the |
Unfortunately, the batch smoke test still fails with the same error message (which you can see in the build scan linked in the CI at the bottom). |
Resolved with #4187 . |
When running the native-image
batch
sample in thesb-3.0.x
branch, it works in AOT mode, but fails in the native image:It seems that there are some proxy hints missing:
Proxy class defined by interfaces [interface org.springframework.batch.core.repository.JobRepository, interface org.springframework.aop.SpringProxy, interface org.springframework.aop.framework.Advised, interface org.springframework.core.DecoratingProxy] not found. Generating proxy classes at runtime is not supported.
The text was updated successfully, but these errors were encountered: