- 博客(5)
- 收藏
- 关注
转载 SpringData+ElasticSearch实现模糊查询、高亮显示
原文链接:https://blog.csdn.net/zhang33565417/article/details/99406387环境搭建1.1 引入依赖核心依赖如下(其他依赖自行引入) org.springframework.boot spring-boot-starter-parent 2.0.6.RELEASE org.springfra...
2020-02-28 23:11:19 1918
原创 Spring Boot 2.0前后context-path变化
Spring Boot2.0 前,在配置文件中使用server.context-path: /xxxSpring Boot2.0后,改为使用server.servlet.context-path: /xxx
2019-01-03 11:17:19 1329
原创 SpringBoot2中JPA的findOne()方法异常
SpringBoot 2.0中JPA的findOne()方法异常解决方法在用SpringBoot 2的时候,发现使用Spring Data JPA 的自带findOne()方法时,不像以前那样可以通过直接使用:xxxRepository.findOne(id)传入id来获取一个对象。查看源码发现findOne方法变成了如下所示:<S extends T> Optional&l...
2018-12-27 17:27:56 1897 1
转载 java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents 解决方法
转载自https://blog.csdn.net/weixin_37577564/article/details/80329775     在JDBC使用的时候有时候会出现java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or rep...
2018-12-25 09:20:13 921
原创 Spring Boot Annotion processor not found in classpath问题解决方法
Spring Boot 2.0中使用@ConfigurationProperties(prefix = "xxx")注解时,会显示 Spring Boot Annotion processor not found in classpath处理此问题需要在maven的pom.xml中添加: <dependency> <groupId> org.springframe...
2018-12-24 14:31:17 383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人