Property 'mapperLocations' was not specified

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Property 'mapperLocations' was not specified

Andrey Rogov
I includ in a applicationContex tfile MapperScannerConfigurer

<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
          <property name="basePackage" value="com.base.mappers" />
          <property name="sqlSessionFactoryBeanName" value="botSqlSessionFactory"/>
</bean>

In XML use namespace
<mapper namespace="com.base.mappers.EmployeeMapper">


Why I  get a warning
Property 'mapperLocations' was not specified or no matching resources found ?

regards,



--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.