自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 Postman发送请求报错org.springframework.web.bind.MissingServletRequestParameterException

我后端接口参数用的是@RequestParam接收,而在Postman里我是用的application/json方式传递的请求数据,后端是无法接收到的。处理HttpEntity传递过来的数据,一般用来处理非Content-Type: application/x-www-form-urlencoded编码格式的数据。用来处理请求头为Content-Type: application/x-www-form-urlencoded编码的内容。我们前端传递的json对象一般都以此方式在后端接收。

2023-04-26 14:46:26 361 1

原创 SpringBoot3整合MyBatis报错:Property ‘sqlSessionFactory‘ or ‘sqlSessionTemplate‘ are required

mybatis-spring-boot-starter 2.x 版本暂时还不适配 Spring Boot 3 版本,没辙。-- 引入 3.0.0-SNAPSHOT 版本的 mybatis-spring-boot-starter(未正式发版) --><dependencies> <!-- 引入 3.0.0 版本的 mybatis-spring-boot-starter(正式版) -->-- 由于未正式发版,所以在Maven仓库里还搜不到,需要额外配置一个远程仓库 -->

2023-04-24 18:07:20 212 1

原创 Could not find artifact mysql:mysql-connector-java:pom:unknown in central (https://repo.maven.apache

报错原因:Could not find artifact mysql:mysql-connector-java:pom:unknown in centra。在pom.xml文件中指定你的。

2023-04-24 09:50:06 3893 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除