Home > Back-end >  Mybatis beginners resources import failed to solve
Mybatis beginners resources import failed to solve

Time:12-07

An error is


Baidu for a long time will not be able to solve this problem, has been stuck for two days, also see a lot of video or cannot solve, bosses, genuflect is begged

Mybatis XML files to


SQL statement corresponds to the XML for


Maven dependency files for added import wildcard



This is a static tool


This is a test class, database has been successful connection


After the operation error as shown in figure


, genuflect is begged to help solve, thank you!!!!!!

CodePudding user response:

Idea and the eclipse, it won't take your configuration files under the SRC is copied to the target directory, so can't find the configuration file error

CodePudding user response:

Which error message you can go to the directory and see whether there is any user mapper. The XML

CodePudding user response:

You still put XML resources in, don't tangle

CodePudding user response:

The cause of your MybatisUtils error still can't find your UserMapper, your mybatis - config. XML isn't loaded into UserMapper, used & lt; Mapper/& gt; , you try to scan to UserMapper to scan to look Dao
  • Related