出现报错:java.lang.IllegalStateException: Failed to load ApplicationContext
翻到最后一个Caused by检查 检查自己mapper.xml里面的resultType发现路径错误,改为正确的路径
运行成功!