![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
不忘初心Eternity
非学,无以质疑。非问,无以广识。
展开
-
Spring Data Redis入门小Demo
1.准备工作 (1)构建Maven工程 SpringDataRedisDemo (2)引入Spring相关依赖、引入JUnit依赖 (3)引入Jedis和SpringDataRedis依赖 <!-- Spring --> <dependency> <groupId>org.springframework</groupId> <a...原创 2019-05-20 20:25:10 · 88 阅读 · 0 评论 -
运行时报错Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
今天在测试SSM接口时,出现了如下错误: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'itemSearchController': Unsatisfied dependency expressed through field 'itemSearchS...原创 2019-08-12 21:43:00 · 2336 阅读 · 1 评论 -
ssm运行时报错:No converter found for return value of type解决方法
最近在学习SpringMVC过程中,Controller能访问到接口,就是一直报错:错误日志很长,在这里只列出部分吧 No converter found for return value of type: 出错原因:返回JSON时没有引入解析JSON的相关包,解决方案: 解决方案: pom依赖中导入fastjson依赖 <dependency> <groupId...原创 2019-08-13 10:15:32 · 605 阅读 · 0 评论 -
ssm中前台访问后台接口时传入的数据乱码问题
错误描述: 使用postman访问后台接口时,明明传入的数据格式是正确的,但后台接收到的数据乱码了 解决方法: 在pom依赖文件中的buid配置中加入配置 < uriEncoding>UTF-8< /uriEncoding> 案例: 重新运行项目,访问接口时数据乱码问题解决 也许此方法不能帮到你,但希望你今早解决程序bug喔! ...原创 2019-08-13 10:23:26 · 684 阅读 · 0 评论