<!--配置mybatis-->
<bean id="sqlSessionFactory" name="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource"/>
<!--加载mybatis核心文件-->
<property name="configLocation" value="classpath:sqlMapConfig-BySpring.xml"/>
</bean>
我已经在pom.xml中配置了mybatis-spring,但是dataSource和configLocation提示Cannot resolve property 'configLocation' ,请问该怎么解决