会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
天生自然
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 吴裕雄
阅读(60)
评论(0)
推荐(0)
编辑
登录接口的实现
摘要: <!-- spring security --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency>
阅读全文
posted @ 2022-02-06 16:43 吴裕雄
阅读(203)
评论(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 吴裕雄
阅读(2233)
评论(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 吴裕雄
阅读(57)
评论(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 吴裕雄
阅读(60)
评论(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 吴裕雄
阅读(26)
评论(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 吴裕雄
阅读(107)
评论(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 吴裕雄
阅读(1113)
评论(0)
推荐(0)
编辑