spring boot 怎么指定sqlsessionfactory

2025-02-23 14:00:51
推荐回答(1个)
回答1:

org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList

请问这是什么错
下面是配置文件
destroy-method="close">