<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
编程语言 时间:
2021-04-06 15:03:33
阅读次数:
0
初次学习mybatis,跑一个最简单的demo,然而报错: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find ...
分类:
数据库 时间:
2021-04-06 14:48:09
阅读次数:
0
第一个:字节码文件时带有ENHANCERBYCGLIB,FastClassByCGLIB组成的文件名 第二个:字节码文件时带有ENHANCERBYCGLIB 第三个:字节码文件时带有FastClassByCGLIB组成的文件名 (这个文件的作用就是某个类的代理它需要使用的时候能快速把已经生成好的实例 ...
分类:
编程语言 时间:
2021-04-06 14:30:46
阅读次数:
0
一、添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <version>2.4.4</version> </depen ...
分类:
编程语言 时间:
2021-04-06 14:26:35
阅读次数:
0
1. 背景知识、需求描述与公共依赖 1.1. 背景知识 & 需求描述 Spring Cloud 官方文档说了,它是一个完整的微服务体系,用户可以通过使用 Spring Cloud 快速搭建一个自己的微服务系统。那么 Spring Cloud 究竟是如何使用的呢?他到底有哪些组件? spring-cl ...
分类:
编程语言 时间:
2021-04-06 14:19:20
阅读次数:
0
SpringBoot发送邮件 1、pom <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</ ...
分类:
编程语言 时间:
2021-04-06 14:13:11
阅读次数:
0
11.3 使用Spring实现AOP 方式三:使用注解实现! <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www ...
分类:
编程语言 时间:
2021-04-06 14:07:51
阅读次数:
0
上传脚本 apply plugin: 'maven' uploadArchives{ repositories.mavenDeployer{ // 本地仓库路径 repository(url:"file://C://Users/gang/.m2/repository/") // 唯一标识 包名 po ...
分类:
其他好文 时间:
2021-04-05 12:39:23
阅读次数:
0
MyBatis 官方文档:https://mybatis.org/mybatis-3/ Github:https://github.com/mybatis/mybatis-3 Maven仓库: <!-- https://mvnrepository.com/artifact/org.mybatis/m ...
分类:
其他好文 时间:
2021-04-05 12:36:13
阅读次数:
0
第一部分:注入bean和获取bean数据 /** * 账户的业务层实现类 * * 曾经XML的配置: * <bean id="accountService" class="com.itheima.service.impl.AccountServiceImpl" * scope="" init-met ...
分类:
编程语言 时间:
2021-04-05 12:18:26
阅读次数:
0