当前位置:网站首页>Cause: org. apache. ibatis. builder. Builderexception: error parsing SQL mapper configuration problem analysis
Cause: org. apache. ibatis. builder. Builderexception: error parsing SQL mapper configuration problem analysis
2022-07-03 10:58:00 【33-Hope】
Errors are common , There are too many reasons for the problem , Here is how to find
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
Cause: org.apache.ibatis.builder.BuilderException: Error resolving class.
Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias ''.
Cause: java.lang.ClassNotFoundException: Cannot find class:
First of all, when making such a mistake , The console will output you more detailed error information to tell you what mistakes you have made :
The first two lines tell you Mapper Configuration Unable to resolve . Okay , The probability is in your configuration Mapper Of xml In file ( I was in mybatis The configuration of xml in )
Then the third line tells you that you can't solve ’ ’ This type of :
’ ’ What kind of ? The type of a quotation mark ? Obviously xml I didn't write in some places , What remains is empty ‘ ’. Okay , You can see xml In some places , You can find that you really haven't written
Empathy : In the analysis of a
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
Cause: org.apache.ibatis.builder.BuilderException: Error resolving class.
Cause: ....Unknown DataSource property: driverClass
....
1. The meaning of the first two sentences is the same , The configuration file cannot be resolved . I'll just skip to configuration mapper Of xml In the
2. The third sentence is unrecognizable DataSource label :property label (driverClass)
Be careful : Here I use direct jdbc The driver account password and other four tags are directly written in xml in , There is no way to use configuration files . So here property It should be ordinary driver:( If you are a configuration file , Please keep consistent with the configuration file )
边栏推荐
- After 8 years of industry thinking, the test director has a deeper understanding of test thinking
- QT: QSS custom qtabwidget and qtabbar instances
- In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
- Qt:qss custom qradiobutton instance
- Logstash backup tracks the data records reported
- If you always feel that you need to persist in learning English
- T5 的尝试
- The solution that prompts "system group policy prohibits the installation of this device" under win10 system (home version has no group policy)
- Win10系统下提示“系统组策略禁止安装此设备”的解决方案(家庭版无组策略)
- QT:QSS自定义 QRadioButton实例
猜你喜欢

帶你走進雲原生數據庫界扛把子Amazon Aurora

What is the salary level of 17k? Let's take a look at the whole interview process of post-95 Test Engineers
Redis notes 01: Introduction

What happened to those who focused on automated testing?

MAUI Developer Day in GCR

Cache routing component

After 8 years of industry thinking, the test director has a deeper understanding of test thinking

Hard goods | write all the codes as soon as you change the test steps? Why not try yaml to realize data-driven?

T5 attempt

What kind of living condition is a tester with a monthly salary of more than 10000?
随机推荐
8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
.Net Core-做一个微信公众号的排队系统
QT: QSS custom qtoolbar and qtoolbox instances
Qt:qss custom qspinbox instance
小文件专项
Qt:qss custom qheaderview instance
QT:QSS自定义 QSplitter实例
Qt:qss custom qscrollbar instance
项目组织战略管理
Iterator iterator enhances for loop
QT:QSS自定义 QRadioButton实例
Flink <-->Redis的使用介绍+with参数
有些能力,是工作中学不来的,看看这篇超过90%同行
QT:QSS自定义 QProgressBar实例
[ultra detailed] implement soft and hard interval SVM based on sklearn
QT: QSS custom qtoolbutton instance
测试理论概述
QT:QSS自定义QLineEdit实例
Flink < --> how to use redis +with parameter
年中了,准备了少量的自动化面试题,欢迎来自测