随笔分类 -  Spring

摘要:基于SpringBoot版本如下: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.2</version> <r 阅读全文
posted @ 2022-03-09 19:02 我自逍遥 阅读(58) 评论(0) 推荐(0) 编辑
摘要:标准bean生命周期 Bean工厂实现应该尽可能支持标准Bean生命周期接口。整套初始化方法及其标准顺序如下: BeanNameAware.setBeanName, BeanClassLoaderAware.setBeanClassLoader, BeanFactoryAware.setBeanFa 阅读全文
posted @ 2022-03-04 18:51 我自逍遥 阅读(50) 评论(0) 推荐(0) 编辑
摘要:我用的SpringBoot版本 parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.2</version> <rela 阅读全文
posted @ 2021-07-21 01:11 我自逍遥 阅读(504) 评论(0) 推荐(0) 编辑
摘要:构建版本: 5.2.x 通过git拉取的方式 本地环境构建 获取代码 从github或者gitee将代码拉取下来 idea打开项目 打开gradle-wrapper.properties文件 查看gradle版本 distributionUrl=https\://services.gradle.or 阅读全文
posted @ 2021-06-30 19:20 我自逍遥 阅读(308) 评论(0) 推荐(0) 编辑
摘要:在Spring-Framework下新建Module 工程结构 依赖 spring-test-fy.gradle需要添加spring-context的依赖 可参考 spring-test.gradle 代码 Teacher package com.fy.test.model; public clas 阅读全文
posted @ 2021-06-30 19:16 我自逍遥 阅读(77) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示