自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Exception in thread “main“ org.springframework.beans.factory.UnsatisfiedDependencyException

**Exception in thread "main" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'meetingPubServiceImpl': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.bean

2020-11-19 00:48:15 1453

原创 Null key returned for cache operation(maybe you are using named params on classes without debug info

ehcache:Null key returned for cache operation错误这个错误一般都是某个key为null值导致@Caching(cacheable = {@Cacheable(value = “emp”,key = “#lastName”)},put = {@CachePut(value = “emp”,key = “#result.id”), @CachePut(value = "emp",key = "#result.email"

2020-11-13 19:51:30 5262

原创 java.lang.NullPointerException org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) 问题

java.lang.NullPointerException org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)记录一下这个空指针异常问题InputStream resourceAsStream = servletContext.getResourceAsStream("/file/" + downloadFileName);这个部分输入流空指针,原因是文件夹写了大写导致,很离谱...

2020-09-20 20:16:50 1058 1

原创 idea报java.lang.NullPointerException: inStream parameter is null异常**

idea报java.lang.NullPointerException: inStream parameter is null异常**做项目的时候,有时候出现这个问题,一开始我以为是代码写错了。检查了很多遍发现是ClassLoader.getSystemClassLoader()这个加载器读取druid.properties的时候不知道什么原因,老是读取不了。改用JDBCUtils.class.getClassLoader()便可以成功读取。...

2020-09-11 16:42:41 1217

空空如也

空空如也

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

TA关注的人

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