请问这是什么异常?怎么解决?

请问这是什么异常?怎么解决?

问题描述:

用Spring+myBatis整合发生的异常
图片说明

这是映射文件:
图片说明

应该是代码编译版本的问题,查查你的jdk版本,编译版本,估计可能是使用的jdk和编译版本不匹配

spring配置的问题,没有找到你的dao实现类。

You most likely have conflicting Spring dependencies on your classpath. It's probably an old spring-asm JAR.

Run mvn dependency:tree -Dincludes=:spring*:: and check for conflicts. The best way to avoid these is to put a dependency on the spring-framework-bom in your project's dependencyManagement section, as follows

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-framework-bom</artifactId>
        <version>4.0.3.RELEASE</version>
        <type>pom</type>
        <scope>import</scope>
    </dependency>

These versions are supported.

贴出你的sql映射文件看看。

你的spring配置文件中有注入AdminDao吗?