摘要: 最近在写一个项目,在启动程序的时候老是直接退出 首先要知道程序出现什么错,可以在启动类上用以下代码: try { SpringApplication.run(ServiceCoreApplication.class, args);}catch(Throwable e) { e.printStackT 阅读全文
posted @ 2023-03-07 16:36 一一以以 阅读(731) 评论(0) 推荐(0)
摘要: 最近在学习尚硅谷的一个项目,再导入swagger依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.8.0</version></dependen 阅读全文
posted @ 2022-12-01 15:10 一一以以 阅读(47) 评论(0) 推荐(0)
摘要: 我在整合SSM框架时遇到的问题,一直报错500,报错:Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not fou 阅读全文
posted @ 2022-05-26 19:49 一一以以 阅读(82) 评论(0) 推荐(0)
摘要: idea报错: Could not find resource com/xxx/xxxMapper.xml 解决办法: 1核心配置文件.xml文件中插入 <mappers> <mapper resource="com/Study/dao/UserDao.xml"></mapper> </mapper 阅读全文
posted @ 2022-04-02 15:04 一一以以 阅读(33) 评论(0) 推荐(0)
摘要: 恢复内容开始 1.mybatis是做什么的?可以简单理解为取代JDBC实现sql命令 2.搭建环境-->导入Mybatis-->编写代码-->测试 3.在resources创建一个Mybatis-config的xml文件,来存放Mybatis的配置文件 <?xml version="1.0" enc 阅读全文
posted @ 2022-04-02 09:08 一一以以 阅读(27) 评论(0) 推荐(0)