当前位置:网站首页>Bug小记
Bug小记
2022-07-19 17:13:00 【岁月的眸】
Bug集
1. MyBatis报错 java.io.IOException: Could not find resource mybatis.xml
1) 可能出错的原因是resources文件夹 ----> 并未标记为源根项目 解决办法鼠标右键选项标记项目为 源根项目
2) 可能是配置文件的路径写错了
2.Error updating database. Cause: java.sql.SQLException: 要执行的 SQL 语句不得为空白或空值
1) 看SQL语法格式是否正确
2)看sql语句是否确实参数或者语法错误!
3. Exception in thread “main” org.apache.ibatis.exceptions.PersistenceException: Error querying database. Cause: java.sql.SQLRecoverableException: IO 错误: Undefined Error
1)虚拟机选型没有设置 -Duser.name=user
2) 看Mapper和Mybatis.xml主配置文件是否出现错误
4.Maven项目出现报错:Error running ‘tomcat7’: Cannot start process, the working directory ‘E:\IDEA_Project\maven_Parent\maven_web’ does not exist
出现错误的原因:
1)可能是在项目中删除了某个子模块或者修改了子模块的名字而导致配置信息没有更新,如:在run--->Edit Configrations--->working directory选项项目名是否更新
run—>Editconfigrations
Edit configrations选项设置
边栏推荐
- 查询端口占用 并关闭
- Cloud machine close_ Reasons and solutions for excessive wait
- Keil 和SI编译器的代码不对齐??
- jlink 烧写可执行bin程序到mini2440
- IIS上部署webService
- Build yourself an extremely simple but easy-to-use shame map station
- 关于研发效能
- The difference between traditional token and JWT in authentication
- WPF RadioButton style (2)
- Jsr303 data verification
猜你喜欢
【C语言】程序环境和预处理
Extend MySQL under Orthanc windows
Stm32f103c8t6 operation matrix keyboard
HTX00001_Keil51-串口解析遇到的Bug
线程/进程/协程的区别以及多线程状态/多线程的统一异常处理
jlink 烧写可执行bin程序到mini2440
【问题解决】微信开发者工具引入组件时报错Uncaught TypeError: Cannot read property ‘addListener‘ of undefined
WPF MVVM mouse double click event
Avalonia - NETCORE image processing
WPF MVVM下 关闭窗体 并打开新窗体
随机推荐
快速排序代码实现
[problem solving] load balancing
【数组基础的增,删,改,查】
【CANN训练营】玩转CANN目标检测与识别一站式方案——学习笔记一(初体验)
Win10 completely uninstall mysql8.0
JSR303数据校验
WPF MVVM 鼠标双击事件
数组-sort用法(排序) 可以使用函数
如何写好一篇论文
【问题解决】微信开发者工具引入组件时报错Uncaught TypeError: Cannot read property ‘addListener‘ of undefined
关于S3C2440NAND操作中s3c2440_write_addr_lp函数地址变换说明
JSON、
Extend MySQL under Orthanc windows
Go language environment construction and samples
WPF MVVM下 关闭窗体 并打开新窗体
Mysql索引整理总结
Jsr303 data verification
HTX00001_Keil51-串口解析遇到的Bug
Connor学JVM - 判断垃圾回收的方法
策略模式的一点思虑