- 博客(14)
- 资源 (2)
- 收藏
- 关注
原创 through reference chain: java.util.HashMap[“XXX“]->oracle.sql.TIMESTAMP[“stream“]
through reference chain: java.util.HashMap[“XXX”]->oracle.sql.TIMESTAMP[“stream”]返回值用fastjson的JSON.toJSON()方法先转一次再返回。
2021-03-10 16:59:13
6430
原创 SpringCloud+MybatisPlus+Activiti6+Activiti5.23 Modeler在线编辑器
一.导入依赖<dependency> <groupId>org.activiti</groupId> <artifactId>activiti-spring-boot-starter-basic</artifactId> <version>6.0.0</version> <exclusions>
2020-09-09 16:06:45
1067
8
原创 Error starting ApplicationContext
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.ApplicationContext(应用上下文),springcloud启动子项目时,检查要被自动加载的类或者FeignClient等等是否是在入口类的当前包或者子包中。...
2020-07-03 22:17:33
264
原创 SpringCloud运行zuul组件时报错
The bean ‘counterFactory’, defined in class path resourceSpringCloud运行zuul组件时报错The bean ‘counterFactory’, defined in class path resourceSpringBoot版本太高换成2.0.5解决2.0.5.RELEASE <parent> <groupId>org.springframework.boot</groupId>
2020-06-19 19:19:49
243
原创 SSM框架多模块+ElementUI+VUE前后端分离开发集成shiro做登录
SSM框架多模块+ElementUI+VUE前后端分离开发集成shiro做登录分析登录流程前端发起请求携带用户名密码作为参数传到后端,接受之后使用shiro进行登录认证,并且拿到sessionId,返回给前端,前端得到sessionId后存储在前端的sessionStorage中,设置过滤器,每次发送请求时,请求头都携带sessionStorage中的sessionId,后端再次接收到请求时shiro先进行过滤,如果是跨域请求直接放行,后端配置sessionManager拿到前端发送过来的sessio
2020-06-18 18:15:10
718
1
原创 SpringCloud入门手册
SpringCloud入门手册一.项目结构1.搭建父工程2.父工程继承springboot <parent> <groupId> org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.5.RELEASE</version>
2020-06-12 22:48:56
430
原创 Failed to determine a suitable driver class
Caused by: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class除了配置文件有问题之外,还有一种可能:单元测试类上的标签写错也会报这个错。使用springboot-test时,单元测试类上的标签:@RunWith(SpringRunner)@SpringBootT
2020-06-09 22:35:32
321
原创 数据结构之稀疏数组
数据结构之稀疏数组模拟一个五子棋游戏此时游戏要存档如何用java代码实现方式一:用一个二维数组来保存 //创建一个8X8的棋盘 int chessArr[][] = new int[8][8]; /* * 数字0表示没有落子 * 数字1表示落白字 * 数字2表示落黑子 */ chessArr[2][2] = 2; chessArr[2][3] = 1; chessArr[2][4] = 2; chessArr[3][3] = 1; chessArr[4][4] = 1;
2020-06-09 21:14:38
189
原创 axios发送post跨域请求出现403解决办法
axios发送post跨域请求出现403解决办法在controller层接收的请求参数前加上@RequestBody,重启tomcat后解决。
2020-05-23 00:08:14
1562
2
原创 maven子模块是灰色的
使用maven多模块时子模块是灰色的使用maven多模块搭建项目时,maven project中的子模块是灰色的,如下:正常情况下在项目中右键点击子模块会有maven选项子模块是灰色时则没有该选项解决方案如下取消Ignored files选项...
2020-05-21 10:54:59
1199
2
原创 org.springframework.beans.factory.NoSuchBeanDefinitionException
Idea中报错org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘transactionManager’ is defined集成spring配置文件中没有写id属性
2020-05-17 00:51:12
249
原创 java.lang.IllegalArgumentException: node to traverse cannot be null!
Idea中报错 java.lang.IllegalArgumentException: node to traverse cannot be null!后端sql语句错误,单子拼写错误或者缺少空格。
2020-05-08 17:28:41
114
原创 java.lang.IllegalArgumentException: Parameter with that position [1] did not
Idea中报错java.lang.IllegalArgumentException: Parameter with that position [1] did not后端Jpql参数没有加toArray()。
2020-05-08 17:27:09
478
原创 Caused by: java.io.FileNotFoundException
Idea中报错Caused by: java.io.FileNotFoundExceptionpom.xml添加配置<build> <resources> <resource> <directory>src/main/java</directory> <i...
2020-04-18 19:10:26
1568
Activiti5.23.0.zip源码
2020-09-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人