- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 spring boot 使用redis缓存 key/value出现 \xac\xed\x00\x05t\x00\tb
import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.data.redis.cache.RedisCacheManager;import org.springframew...
2019-07-09 22:31:07
207
原创 lanyu 激活idea2018.3.5
1. 编辑 C:\Windows\System32\drivers\etc下的hosts 文件,最后面加入下面一行 0.0.0.0 account.jetbrains.com2.打开http://idea.lanyus.com/,获取注册码3. 将注册码放入idea 验证即可...
2019-03-05 14:32:47
1026
原创 idea html页面修改不生效
1. Setting配置 2. Registry ctrl+alt+shift+’/’ 弹出框选择如下,勾选即可3. 修改配置文件 spring: thymeleaf: cache: false # 禁用缓存 mode: LEGACYHTML5 # 非严格型检查 默认是html 严格检查4. 如果还未生效 手动 Ctrl + F9...
2019-01-30 08:02:30
15425
2
原创 idea编辑html模板文件
通过File-> Setting-> Editor-> File and Code Template在右边File面板中找到HTML 将需要配置的模板修改即可比如 我在此加入thymeleaf模板引擎和shiro标签 <!DOCTYPE html><html lang="zh_CN" xmlns:th="http://www.thymeleaf.o...
2019-01-30 07:32:12
3282
1
原创 spring boot 默认开启鉴权, 如何取消
spring boot默认是开启鉴权 比如浏览器访问时 出现:但开发时, 不需要此功能 该如何取消呢解决: 以前版本低时, 通过 security.basic.enabled=false 则可取消鉴权但此方法由于版本或者过时的原因 已不可用所有只要用过 @EnableAutoConfiguration(exclude = {org.springframework.boot...
2019-01-30 07:20:15
3095
2
原创 java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more
一 问题2019-01-29 22:15:16.696 ERROR 4844 --- [Create-31531927] com.alibaba.druid.pool.DruidDataSource : create connection error, url: jdbc:mysql://127.0.0.1:3306/bootdo?useUnicode=true&character...
2019-01-29 22:14:02
141
原创 idea 解决 Unable to open debugger port (127.0.0.1:50812)问题
一 现象 反复重新启动几次都没成功.这里面有个50021 端口会误导人, 点击 event log 窗口可以查看到明细其实主要杀1099端口二 查找进程: netstat -aon | findstr "1099" 查找到此端口的进程三 杀进程: taskkill -f -pid 5763四 重新启动服务即可...
2019-01-17 17:52:03
5837
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人