title: MalformedParameterizedTypeException when running Mybatis App
body: <p>here's the stacktrace:</p>
  
  <p>  Context initialization failed
  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException</p>
  
  <p>I used the libraries that came w/ the mybatis-spring 1.1.1 and I added the spring-web-3.1.1.RELEASE.jar. My IDE is JDeveloper 11.1.2.1.0. here's the contents of WEB-INF/lib</p>
  
  <p>aopalliance-1.0.jar<br>
  commons-logging-1.1.1.jar <br>
  jettison-1.1.jar <br>
  mybatis-3.1.1.jar <br>
  mybatis-spring-1.1.1.jar <br>
  mybatis-spring-1.1.1-javadoc.jar <br>
  mybatis-spring-1.1.1-sources.jar <br>
  spring-aop-3.1.1.RELEASE.jar <br>
  spring-asm-3.1.1.RELEASE.jar <br>
  spring-batch-core-2.1.8.RELEASE.jar <br>
  spring-batch-infrastructure-2.1.8.RELEASE.jar <br>
  spring-beans-3.1.1.RELEASE.jar <br>
  spring-context-3.1.1.RELEASE.jar <br>
  spring-core-3.1.1.RELEASE.jar <br>
  spring-expression-3.1.1.RELEASE.jar <br>
  spring-jdbc-3.1.1.RELEASE.jar <br>
  spring-tx-3.1.1.RELEASE.jar <br>
  spring-web-3.1.1.RELEASE.jar <br>
  xpp3_min-1.1.4c.jar <br>
  xstream-1.3.jar <br></p>
  
  <p>here's the contents of applicationContext.xml<br></p>
  
  <pre><code>&lt;bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
      &lt;property name="driverClassName" value="${driverClassName}"/&gt;
      &lt;property name="url" value="${url}"/&gt;
      &lt;property name="username" value="${username}"/&gt;
      &lt;property name="password" value="${password}"/&gt;
  &lt;/bean&gt;
  
  &lt;bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"&gt;
      &lt;property name="dataSource" ref="dataSource" /&gt;
      &lt;property name="typeAliasesPackage" value="ph.com.aub.util"/&gt;
  &lt;/bean&gt;
  
  &lt;bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"&gt;
      &lt;property name="basePackage" value="ph.com.aub.mappers" /&gt;
  &lt;/bean&gt;
  
  &lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
  &lt;property name="location"&gt;
  &lt;value&gt;classpath:jdbc.properties&lt;/value&gt;
  &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p></p>