![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误记录
我一定要成为架构师
这个作者很懒,什么都没留下…
展开
-
springboot -- 2.0版本自定义ReidsCacheManager的改变
1. 问题发现在1.0版本中,我们配置redis的cacheManager是这种方式: //缓存管理器 @Bean public CacheManager cacheManager(@SuppressWarnings("rawtypes") RedisTemplate redisTemplate) { RedisCacheManager cacheManager...转载 2019-06-16 21:12:23 · 454 阅读 · 0 评论 -
使用SpringBoot拦截器后静态资源无法加载的问题
首先看注册类中是否有@EnableMvc如果有就删除这样写就行了@Configurationpublic class WebConfig implements WebMvcConfigurer { @Resource private SessionInterceptor sessionInterceptor; @Override public void a...原创 2019-09-17 16:20:35 · 879 阅读 · 0 评论 -
ArrayStoreException关于Object类导包的坑
如果你的代码出现这个异常你就看看你的存储类中的Object类是否导了org.omg.CORBA.Object;这个包把它删掉就好了Exception in thread "main" java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at com.matthew.SegmentTree.Seg...原创 2019-09-26 10:00:33 · 294 阅读 · 1 评论