- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 mysqldump命令报错ERROR 1064 (42000)
mysqldump命令报错ERROR 1064 (42000)从Linux导出数据库表结构和数据,使用命令mysqldump -u用户名 -p 数据库名 > 数据库名.sql始终报错:ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'my
2021-03-18 19:00:24
1684
原创 问题记录Springsecurity自定义拦截器抛出未登录异常
问题记录Springsecurity抛出未登录异常问题错误写法正确写法问题自定义了一个权限拦截器A,在判断UserDetails不存在时,需要跳转未登录处理器authenticationEntryPoint,返回未登录响应码给前端。但实际上却跳转了accessDeniedHandler权限不足处理器。.and().exceptionHandling().authenticationEntryPoint(((httpServletRequest, httpServletResponse, e) -&
2020-08-21 10:56:51
1911
原创 问题记录Mybatisplus selectById WHERE null=?
问题记录Mybatisplus selectById WHERE null=?导包错误自动导入的错误的包修改为使用Mybatis-plus代码生成器生成的代码,当使用selectById时,拼装的sql语句出现id字段为null的情况*.selectById - ==> Preparing: SELECT user_id,user_name FROM user WHERE null=? *.selectById - ==> Parameters: 1(Integer)*.selectB
2020-08-21 10:35:37
2453
1
程序—爱你一生一世
2014-09-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人