|
|
spring batch admin dependencies
I have a series of batch jobs that were developed under 2.0.3. The admin tool uses 2.1. When I try to include the batch jobs I get an error saying that the schema does not match. So I need to change the xsd header to 2.1
The problem is that I am importing these files from a jar file that was built with 2.0.3. If I try to upgrade this jar file to 2.1 spring batch
I get a dependency with Spring 3.0.
I do not want to upgrade to Spring 3.0 at the moment. How should I proceed.Code:
Failed to read schema document 'schema/batch/spring-batch-2.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not lt;xsd:schemagt;.You can try the schema alias .../spring-batch.xsd. If you aren't using any incompatible features that will work in both 2.0 and 2.1 (the best way to know if it will work is to try it). Otherwise you can use 2.0 jobs out of process (e.g. a command line launch) and use Admin to look at the results.
Admin is going to probably get the ability to launch jobs out of process from the UI at some point soonish, so that will probably cater for most people.
What is your use case?
The recommendation worked but I decidecd to update to Spring 3.0 anyway |
|