- 博客(8)
- 资源 (4)
- 收藏
- 关注
原创 org.apache.poi.EmptyFileException: The supplied file was empty (zero bytes long)
以上问题是因为InputStream已经读取一遍了,而他不能 重复读取,此时我们只需要重新获取一下原来的数据就可以了。如果觉得此方法不合适,可以到网上搜重复读取inputStream会有很多解决办法。// 此处是处理input的代码。
2023-10-03 15:00:38 1195 1
原创 Unable to delete ‘/data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo‘. Tried 3 times
Unable to delete '/data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts
2021-12-30 14:53:34 2296
原创 ProcessEngines.getDefaultProcessEngine() null
今天在做activity的时候,发现之前都好好的代码 ProcessEngines.getDefaultProcessEngine() 这一步报null了。然后发现其实是数据库里有默认的数据被我清空了。记录一下防止再犯。
2021-05-19 10:31:32 926 1
转载 springboot webservice发布成功 项目其他http接口无法正常访问
今天在springboot项目中集成webservice之后,webservice服务发布成功,但是http接口无法正常访问。webService接口如下import com.cmcross.manage.webservice.DemoService;import com.cmcross.manage.webservice.DemoServiceImpl;import org.a...
2019-05-08 16:46:28 1927
原创 Could not get a resource from the pool
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:53) at redis.clients.jedis.JedisPool.getResourc...
2019-04-24 08:17:32 1310
转载 悲观锁,乐观锁,行锁,表锁,页锁,共享锁,排他锁
悲观锁: 顾名思义,很悲观,就是每次拿数据的时候都认为别的线程会修改数据,所以在每次拿的时候都会给数据上锁。上锁之后,当别的线程想要拿数据时,就会阻塞,直到给数据上锁的线程将事务提交或者回滚。传统的关系型数据库里就用到了很多这种锁机制,比如行锁,表锁,共享锁,排他锁等,都是在做操作之前先上锁。 行锁: 下面演示行锁,打开两个mysql命令行界面,两个线程分别执行如下操作:(左...
2018-12-03 22:42:23 163
原创 quartz+spring报错。
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.scheduling.quartz.SchedulerFactoryBean] for bean with name 'schedulerFactoryBean' defined in clas...
2018-03-07 14:30:37 207
原创 TypeError: 'stepUp' called on an object that does not implement interface HTMLInputElement.
该问题是因为Ajax提交到后台的参数有问题。如下图:在data里loginPwd中的P是大写的,所以才出现这个问题!
2017-10-25 13:42:03 263
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人