当前位置:网站首页>Error building sqlsession problem
Error building sqlsession problem
2022-06-29 18:14:00 【Spirit Lord sinner】
1、mybatis The core file is not configured properly
Even mapper Whether the position of the is well placed will also lead to
So pay attention to whether the core file is correct when configuring yourself
2、 The returned result type is not configured
When setting the permission to return the result, you should select the location of the package , If the alias of the class is configured , You can also use the alias of the class . This can reduce the amount of code redundancy
3、 Spelling mistakes
Accidentally modified the original in the core file name attribute , The scalar cannot be resolved

A lot of times . We all accidentally click on the logo inside him , When the configuration appears , The core file cannot read the planned logo
This kind of problem , Most of them are caused by their own carelessness , Just pay more attention
list<map<String,integer>> error
"msg": "Could not write JSON: java.lang.Long cannot be cast to java.lang.Integer; nested exception is com.fasterxml.jackson.databind.JsonMappingException: java.lang.Long cannot be cast to java.lang.Integer (through reference chain: java.util.ArrayList[0]->java.util.HashMap[\"afZrs\"])",
"code": 500
}
hold integer Change to object Have a try
principle :
nested exception is org.apache.ibatis.binding.BindingException

To do this, add data for use
边栏推荐
- Jar package background startup and log output
- Bloom filter:
- Niuke small Bai monthly race 52 D ring insectivorous (feet +st table)
- Spingmvc requests and responses
- Maximum length of palindrome substring (string hash + binary)
- Professor of Cambridge University: eating breakfast often is harmful and dangerous. - you know what
- Image feature computation and representation -- content based image retrieval
- Let Google search your blog
- Record that the server has been invaded by viruses: the SSH password has been changed, the login fails, the malicious program runs full of CPU, the jar package fails to start automatically, and you ha
- 3H proficient in opencv (VII) - color detection
猜你喜欢

Distributed | several steps of rapid read / write separation

行程卡“摘星”热搜第一!刺激旅游产品搜索量齐上涨

Adobe Premiere基础-编辑素材文件常规操作(脱机文件,替换素材,素材标签和编组,素材启用,便捷调节不透明度,项目打包)(十七)

idea怎么使用?

Adobe Premiere foundation - sound adjustment (volume correction, noise reduction, telephone tone, pitch shifter, parameter equalizer) (XVIII)

mysql -connector/j驱动下载

Professor of Cambridge University: eating breakfast often is harmful and dangerous. - you know what

Configure the local domain name through the hosts file

Error building SqlSession问题

NVIDIA installs the latest graphics card driver
随机推荐
[tcapulusdb knowledge base] tcapulusdb doc acceptance - transaction execution introduction
【TcaplusDB知识库】TcaplusDB单据受理-创建业务介绍
[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction
图像特征计算与表示——基于内容的图像检索
WBF:检测任务NMS后虑框新方式?
通过 hosts文件配置本地域名
jdbc_相關代碼
Premature end of script headers 或 End of script output before headers
Matlab farthest point sampling (FPS)
Adobe Premiere基础-批量素材导入序列-变速和倒放(回忆)-连续动作镜头切换-字幕要求(十三)
字典树(随学)
Proxmox VE Install 7.2
Distributed | several steps of rapid read / write separation
Does rapid software delivery really need to be at the cost of security?
EasyCVR部署服务器集群时,出现一台在线一台不在线是什么原因?
VMware installation esxi
mysql -connector/j驱动下载
kubekey2.2.1 kubernetes1.23.7离线包制作+harbor部暑并上传镜像
Xiaomai technology x hologres: high availability of real-time data warehouse construction of ten billion level advertising
[target tracking] |stark configuration win OTB

When setting the permission to return the result, you should select the location of the package , If the alias of the class is configured , You can also use the alias of the class . This can reduce the amount of code redundancy