![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日常坑
王金铎王
从二十楼往下看,都是良辰美景。从二楼往下看,满地都是垃圾。
展开
-
MISCONF Redis is configured to save RDB snapshots~
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.原创 2017-12-25 17:36:09 · 463 阅读 · 0 评论 -
Mybatis error,There is no getter for property named 'xx' in 'class java.lang.String',解决办法
今天在使用Mybatis的时候遇到一个问题,在传递一个String参数的时候遇到下面的错误:Mapper.xml代码如下:执行这个方法的时候报错:项目Jar管理用的是Maven,Mybatis版本如下(我用的是MybatisPlus插件):上网翻阅了半天的资料找到了解决办法,在传递单个参数String,int,等,需要用_原创 2018-01-08 10:38:36 · 568 阅读 · 0 评论 -
This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its 错误记录
This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)翻译 2018-02-05 14:47:24 · 220 阅读 · 0 评论 -
解决ERROR - unregister mbean error javax.management.InstanceNotFoundException: com.alibaba.druid:type=
项目中使用druid对数据库连接池进行管理,在本地及测试环境均无问题,但是上了生产环境后,每当tomcat第一次启动时,日志未报错,但是页面总是出不来,在关闭tomcat时,看日志,发现报错如下:ERROR [com.alibaba.druid.stat.DruidDataSourceStatM...转载 2018-02-08 17:10:59 · 852 阅读 · 0 评论 -
Spring Security 无法登陆,报错:There is no PasswordEncoder mapped for the id “null”
编写好继承了WebSecurityConfigurerAdapter类的WebSecurityConfig类后,我们需要在configure(AuthenticationManagerBuilder auth) 方法中定义认证用于信息获取来源以及密码校验规则等。(configure函数名字不重要,官方用的好像是configureGlobal(……),重要的是在这个被@EnableWebSecuri...转载 2018-08-31 15:56:37 · 194 阅读 · 0 评论