Error creating bean with name 'sqlSessionFactory' defined in class path resource

created at 11-25-2021 views: 2


When I use the mybatis framework to instantiate the bean, it will appear

Error creating bean with name'sqlSessionFactory' defined in class path resource

I have tried many methods on the Internet, but after a period of error correction, I found that there are some patterns. The general error of this kind of error is in the configuration file of mybatis, such as the wrong attribute value in the label in mybatis, etc. Like me, the attribute value of the plug-in is wrong



Change the attribute value in intercaptor to as shown in the figure

Please log in to leave a comment.