title: Spring <jee:jndi-lookup> tag & `SAXParseException`
body: <p>Here are the excerpts of my Spring context <code>.xml</code> file.</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans:beans xmlns="http://www.springframework.org/schema/batch"
      xmlns:beans="http://www.springframework.org/schema/beans" xmlns:aop="http://www.springframework.org/schema/aop"
      xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p"
      xmlns:jee="http://www.springframework.org/schema/jee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="
          http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
          http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.0.xsd
          http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
          http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
          http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd"&gt;
  
      &lt;beans:import
          resource="classpath:com/batch/jobs/data-source-context.xml" /&gt;
  
      &lt;job id="xxxx"&gt;
          &lt;step id="loadRecord"&gt;
              &lt;tasklet&gt;
                  &lt;chunk reader="dtaFileItemReader" writer="dtaGroupWriter"
                      commit-interval="${job.commit.interval}" /&gt;
              &lt;/tasklet&gt;
          &lt;/step&gt;
      &lt;/job&gt;              
      &lt;jee:jndi-lookup id="dataSource" jndi-name="jdbc"&gt;&lt;/jee:jndi-lookup&gt;        
  
      &lt;beans:bean id="incrementerParent" class="${batch.database.incrementer.class}"&gt;
          &lt;beans:property name="dataSource" ref="dataSource" /&gt;
          &lt;beans:property name="incrementerName" value="ID" /&gt;
      &lt;/beans:bean&gt;
  </code></pre>
  
  <p>I get an exception saying that:</p>
  
  <pre><code>nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jee:jndi-lookup'
  </code></pre>