随笔分类 -  solr

添加缓存实例
摘要:@Servicepublic class ItemServiceImpl implements ItemService { @Autowired private TbItemMapper itemMapper; @Value("${REDIS_ITEM_KEY}") private String R 阅读全文
posted @ 2017-06-07 23:23 尴尬而不失礼貌的微笑 阅读(341) 评论(0) 推荐(0)
空指针异常
摘要:portal测试时候发生空指针异常,因为page为int,基础类型。空值传给基础类型,会报错。则添加默认值就可以了。 或者在search(queryString,page)page改为(integer) page 阅读全文
posted @ 2017-06-06 23:53 尴尬而不失礼貌的微笑 阅读(260) 评论(0) 推荐(0)
解决get乱码
摘要:也可以在tomcat中修改,但是每次配置tomcat中都得修改。容易忘记,还是图片这个方法最好,推荐 阅读全文
posted @ 2017-06-04 23:18 尴尬而不失礼貌的微笑 阅读(187) 评论(0) 推荐(0)
文件编译不通过,经常遇到的。。。。
摘要:严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework 阅读全文
posted @ 2017-06-04 22:34 尴尬而不失礼貌的微笑 阅读(820) 评论(0) 推荐(0)
多表关联查询
摘要: 阅读全文
posted @ 2017-06-03 23:44 尴尬而不失礼貌的微笑 阅读(228) 评论(0) 推荐(0)
solrj的使用
只有注册用户登录后才能阅读该文。
posted @ 2017-06-03 23:04 尴尬而不失礼貌的微笑 阅读(2) 评论(0) 推荐(0)