• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2022年2月6日

数据备份还原
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2022-02-06 19:18 吴裕雄 阅读(67) 评论(0) 推荐(0)
 
登录接口的实现
摘要: <!-- spring security --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> 阅读全文
posted @ 2022-02-06 16:43 吴裕雄 阅读(226) 评论(0) 推荐(0)
 
Spring Security 实现用户认证(Authentication)和用户授权(Authorization)
摘要: 添加依赖 <!-- spring security --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </depende 阅读全文
posted @ 2022-02-06 15:18 吴裕雄 阅读(2610) 评论(0) 推荐(1)
 
实现登录验证码
摘要: <!-- kaptcha --> <dependency> <groupId>com.github.axet</groupId> <artifactId>kaptcha</artifactId> <version>0.0.9</version> </dependency> package com.l 阅读全文
posted @ 2022-02-06 14:08 吴裕雄 阅读(75) 评论(0) 推荐(0)
 
集成Druid数据源
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2022-02-06 03:06 吴裕雄 阅读(72) 评论(0) 推荐(0)
 
集成MyBatis
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2022-02-06 01:56 吴裕雄 阅读(31) 评论(0) 推荐(0)
 
解决:com.mysql.jdbc.exceptions.jdbc4.CommunicationsExcepti
摘要: 这可能是MySQL连接的jar包版本不对。 需要加入version。 正确配置如下: <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.28</versio 阅读全文
posted @ 2022-02-06 01:37 吴裕雄 阅读(190) 评论(0) 推荐(0)
 
解决:Could not find SQL statement to include with refid
摘要: 请检查xml文件的SQL标签和resultMap标签内容是否写正确了。 下面是正确的写法样例。 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "h 阅读全文
posted @ 2022-02-06 01:03 吴裕雄 阅读(1329) 评论(0) 推荐(0)