sts SpringBoot+MyBatis
本四阿哥
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sts SpringBoot前台后台分离项目关于前台请求无响应问题,跨域问题
今天一个朋友写的前台后分离,关于前台的无响应问题,应该跨域的问题,只需写俩个方法即可解决。不需要依赖。需要注意的是,看好架包不要导错,不然可能会出现问题的。 package com.zsc.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation...原创 2020-05-04 22:01:47 · 583 阅读 · 0 评论 -
SpringBoot+MyBatis时报错org.springframework.beans.factory.UnsatisfiedDependencyException: Error creatin
今天一个朋友写项目SpringBoot+MyBatis报错如下,我们找到一些关键字,就可以确定错误大致在什么地方啦,不难看出是xml出错啦,去xml看看是不是那个细节出错啦 下面我标记的地方应该使用parameterMap,因为是多表连接查询返回的结果 Error starting ApplicationContext. To display the conditions report re...原创 2020-04-30 16:56:07 · 2013 阅读 · 0 评论 -
SpringBoot+MYBatis时报错Error creating bean with name 'controller': Unsatisfied dependency expressed th
今天用SpringBoot+MyBatis写一个一对一时错了一个错,检查啦一下才知道运来Mapper.xml中一个SQL语句没有写完,只写啦一部分,没有写参数类型,和返回值类型。大意啦一下,就报啦下面这个错。所以大家敲代码时要小心一点。 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating...原创 2020-04-23 17:57:49 · 8630 阅读 · 0 评论 -
sts SpringBoot整合MyBatisshi时测试添加时报错: Invalid bound statement (not found): com.zsc.dao.UserDao.adduser
今天写一个测试的时候,启动项目后去测试时报啦一个错 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.zsc.dao.UserDao.adduser at org.apache.ibatis.binding.MapperMethodSqlCommand.<init>...原创 2020-04-20 19:45:22 · 377 阅读 · 0 评论
分享