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

When the jobstep defined in my jobstep refers to a job defined in another configuration file, there will be an error of "NoSuchBeanDefinitionException" [BATCH-2713] #894

Closed
spring-issuemaster opened this issue Apr 20, 2018 · 2 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Apr 20, 2018

Arthor opened BATCH-2713 and commented

I define a jobstep in spring-batch-admin,When the jobstep defined in my jobstep refers to a job defined in another configuration file, there will be an error of "NoSuchBeanDefinitionException: No bean named 'ComputeJFJob' is defined"


Affects: 3.0.8

Attachments:

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Apr 20, 2018

Michael Minella commented

The Job you are calling from the JobStep must be included in the same ApplicationContext.  You need to import that other configuration file into your own.

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Apr 23, 2018

Arthor commented

According to what you said, import that other configuration file into my own.This problem is solved,thank you very much

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.