Unable to define job tag in spring batch job.xml
Hi ,
I am trying to use conditional flow in specific job xml .Please find the declaration and the error encountered by me
Code:
<job id="sampleMyJob">
<step name="step1" next="step2"/>
<step name="step2"/>
</job>
And the following is the exception i am receiving .
Code:
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'job'. One of '{"http://www.springframework.org/schema/beans":import, "http://www.springframework.org/schema/beans":alias, "http://www.springframework.org/schema/beans":bean, WC[##other:"http://www.springframework.org/schema/beans"]}' is expected.
Please help me out .Thanks in advance
CVUK