- 博客(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关注的人