- 博客(4)
- 资源 (9)
- 收藏
- 关注
原创 Cannot find table rule and default data source with logic table
今天在使用sharding-jdbc整合读写分离的时候报了这么一个错误,Cannot find table rule and default data source with logic table意思非常明显,是不是你没有给这个表设置分片规则但是这里我不是说的这个我这里是另外一个问题。我只整合了读写分离,并没有需要分库分表,所以报了这个错,具体配置后续给出。Cause: java.lang.Ill
2017-04-26 11:52:22 13721 5
原创 typeahead模糊搜索查询-结合bootstrap和jquery
本文利用twitter开源组件typeahead来实现一个模糊匹配效果,包含了,动态搜索,迷糊匹配等功能。非常强大。项目地址 项目结合了bootstrap,搜素更加美观项目下载下来,然后引入<script src="/assets/plugins/bootstrap/js/typeahead.bundle.min.js" type="text/javascript"></script>路径自己看
2017-04-24 19:00:23 5571
原创 Spring boot mybatis集成报错Caused by: org.xml.sax.SAXParseException: 前言中不允许有内容
今天整合Spring boot和mybatis集成的时候,报了这么一个错误! 经过断点调试发现录制进去的xml文件的二进制流是空的,也就是说没有读到xml文件,但是又没有说没有读到xml文件,这点很郁闷。原来application.xml中mapper配置文件路径我写的是mybatis.mapper-locations=classpath:mybatis/mapper解决办法:mybatis.ma
2017-04-07 11:16:28 15428 3
原创 Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean
今天想练习下spring boot,然后报了这个错,找了google无果。其实是maven配置有问题,我把spring boot的内置容器干掉了,spring boot内置tomcat容器,我pom.xml是这样写的。<dependency> <groupId>org.springframework.boot</groupId>
2017-04-06 15:36:03 9959
MyBatis_plugin crack
2018-02-03
dubbo-demo-consumer、dubbo-demo-provider、dubbo-simple-monitor
2016-07-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人