title: Spring Batch Admin not working with Spring Integration 2.1
body: <p>I have an existing Web application using Spring Integration 2.1.0 and Spring Batch 2.2.7.</p>
  
  <p>I want to add Spring Batch Admin embedded in this existing Web app, but I can't make it work.</p>
  
  <p>When I try to use the current Spring Batch Admin release (1.2.1), I get the following error.</p>
  
  <blockquote>
    <p>SEVERE: Exception sending context initialized event to listener
    instance of class org.springframework.web.context.ContextLoaderListe
    ner org.springframework.beans.factory.parsing.BeanDefi
    nitionParsingException: Configuration problem: Failed to import bean
    definitions from URL location
    [classpath*:/META-INF/spring/batch/bootstrap/**/*.xml]</p>
    
    <p>Caused by: org.springframework.beans.factory.parsing.BeanDefi
    nitionParsingException: Configuration problem: You cannot use prior
    versions of Spring Integration schemas with Spring Integration 2.1.
    Please upgrade your schema declarations or use versionless aliases
    (e.g. spring-integration.xsd).</p>
  </blockquote>
  
  <p>Since I don't want to downgrade my Spring Integration version, I've tried to used the 1.3.0.M1 (milestone) version of Spring Batch Admin. Then again, I get what seems to be another "Spring Integration mismatched versions problem"...</p>
  
  <blockquote>
    <p>SEVERE: StandardWrapper.Throwable
    org.springframework.beans.factory.parsing.BeanDefi
    nitionParsingException: Configuration problem: Failed to import bean
    definitions from URL location
    [classpath*:/META-INF/spring/batch/servlet/manager/*.xml] Offending
    resource: ServletContext resource
    [/WEB-INF/spring/batch-admin/batch-admin-context.xml]; nested
    exception is org.springframework.beans.factory.xml.XmlBeanDefin
    itionStoreException: Line 372 in XML document from URL
    [jar:file:/D:/axon-sevl/workspace-git/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/sii-web/WEB-INF/lib/spring-batch-admin-manager-1.3.0.M1.jar!/META-INF/spring/batch/servlet/manager/integration-context.xml]
    is invalid; nested exception is org.xml.sax.SAXParseException;
    systemId: <a href="http://www.springframework.org/schem...tion-http.xsd" rel="nofollow">http://www.springframework.org/schem...tion-http.xsd</a>;
    lineNumber: 372; columnNumber: 119; src-resolve: Cannot resolve the
    name 'integration:adviceChainType' to a(n) 'type definition'
    component.</p>
  </blockquote>
  
  <p>Is there anyone who managed to make it work or do I absolutely have to change the Spring Integration version I'm currently using?</p>
  
  <p>Thanks in advance! </p>