In the SQLMapClient property mapperLocations expects mapper file not the configuration file( which is supplied to sessionfactory)
org.mybatis.spring.SqlSessionFactoryBean class calls the parse method which is trying to find mapper
public void parse() {
if (!configuration.isResourceLoaded(resource)) {
configurationElement(parser.evalNode("/mapper"));
configuration.addLoadedResource(resource);
bindMapperForNamespace();
}
You can configure your mapper as below if all the mpper files are placed in folder sqlmap in classpath.
<property name="mapperLocations" value="classpath:sqlmap/*.xml" />