title: Idea inspects batis mapper bean wrong
body: <p>There's web project with Spring and MyBatis. I use IntelliJ IDEA for development. 
  IDEA cannot correctly inspect MyBatis beans and produces annoying underscorings, though link to Data Access Object is present.</p>
  
  <p>Inspection comment:</p>
  
  <pre><code> Could not autowire. No beans of 'ApplicationMapper' type found.
  </code></pre>
  
  <p>My Spring and MyBatis configurations:
  Spring:</p>
  
  <pre><code>&lt;bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"&gt;
      &lt;property name="dataSource" ref="dataSource"/&gt;
      &lt;property name="configLocation" value="classpath:spring/mybatis-config.xml"/&gt;
  
  &lt;/bean&gt;
  
  &lt;bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"&gt;
      &lt;property name="basePackage" value="com.db.gbs.gbsapps.rds.backend.model.integration.mapping"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>mybatis-config.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE configuration
          PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
          "http://mybatis.org/dtd/mybatis-3-config.dtd"&gt;
  
  &lt;configuration&gt;
      &lt;mappers&gt;
          &lt;mapper resource="mybatis/ApplicationMapper.xml"/&gt;
      &lt;/mappers&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Is there a way to fix this small issue?</p>