mybatis常见错误

mapper.xml未加载成功

java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for mapper.UserMapper.findUserById

缺少cglib-2.2.jar ,asm-2.2.3.jar包

java.lang.IllegalStateException: Cannot enable lazy loading because CGLIB is not available. Add CGLIB to your classpath.

你可能感兴趣的:(mybatis常见错误)