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

Let job-repository assign id to itself by default. [BATCH-1530] #2052

Closed
spring-issuemaster opened this issue Mar 10, 2010 · 1 comment
Closed

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Mar 10, 2010

David J. M. Karlsen opened BATCH-1530 and commented

When declaring the job-repository as:
<batch:job-repository />
I get:

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Configuration problem: Id is required for element 'job-repository' when used as a top-level tag

Which is kinda weird - as it has a name, but not an id.

Declaring it as
<batch:job-repository id="job-repository"/>

solves the problem.


Affects: 2.1.0

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Mar 14, 2010

David J. M. Karlsen commented

ups - typo - should read
<batch:job-repository id="jobRepository"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.