当前位置:网站首页>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 )
边栏推荐
- Numpy quick start (IV) -- random sampling and general functions
- Redis notes 01: Introduction
- How does MySQL find the latest data row that meets the conditions?
- Qt:qss custom qpprogressbar instance
- Chiyou (), a specific mythical image, is also gradually abstracted as a dramatic character type "Jing". "Jing", born in Dan Dynasty and ugly at the end, is the earliest "profession" in Chinese drama
- What happened to those who focused on automated testing?
- Flink < --> how to use redis +with parameter
- The solution that prompts "system group policy prohibits the installation of this device" under win10 system (home version has no group policy)
- C语言项目:学生成绩系统
- Bid -- service commitment -- self summary
猜你喜欢
游戏测试相关 测试一个英雄的技能(春招被问比较多的一道题)
Communication software development and Application
Interviewer: what is the internal implementation of the list in redis?
What is the salary level of 17k? Let's take a look at the whole interview process of post-95 Test Engineers
多路IO转接——前导
Data captured
最高月薪18K 拥有好的“心态和选择”, 成功就差“认真和坚持”~
Exclusive analysis | truth about resume and interview
“测试人”,有哪些厉害之处?
使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》
随机推荐
软件测试——Redis数据库
Snownlp emotion analysis
Hard goods | write all the codes as soon as you change the test steps? Why not try yaml to realize data-driven?
文件上传下载测试点
Buy health products for parents
Do you really need automated testing?
值得关注的15种软件测试趋势
Iterator iterator enhances for loop
2022 pinduogai 100000 sales tutorial
logstash备份跟踪上报的数据记录
After 8 years of industry thinking, the test director has a deeper understanding of test thinking
[ultra detailed] implement soft and hard interval SVM based on sklearn
Take you into the cloud native database industry, Amazon Aurora
QT:QSS自定义 QSpinBox实例
15 software testing Trends Worthy of attention
QT:QSS自定义QHeaderView实例
Traversal of map set
UI自动化测试如何走出困境?价值又如何体现?
. Net core - a queuing system for wechat official account
测试理论概述