码迷,mamicode.com
首页 >  
搜索关键字:spring boot kaigejava 凯哥java    ( 52049个结果
spring boot全局捕获异常
spring boot全局捕获异常 制作人:全心全意 @ExceptionHandler:标识拦截异常 @ControllerAdvice:Controller的一个辅助类,最常用的就是作为全局异常处理的切面类 @ControllerAdvice可以指定扫描范围 @ControllerAdvice约 ...
分类:编程语言   时间:2020-12-29 11:02:27    阅读次数:0
Spring注解驱动——IOC
体系结构概述: @Bean 之前时候,在xml配置文件使用: <bean id="person" class="com.atguigu.bean.Person" scope="prototype" > <property name="age" value="${}"></property> <pro ...
分类:编程语言   时间:2020-12-28 12:01:10    阅读次数:0
【转】SpringBoot之@EnableAutoConfiguration注解
首先Spring Boot项目中都会如下启动类: @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application. ...
分类:编程语言   时间:2020-12-28 11:58:46    阅读次数:0
IDEA搭建Spring源码过程
spring源码有很多值得学习的地方,自己搭建了一套源码框架,方便跟踪和查看。对理解底层的结构有非常大的帮助。下面开始: step1 准备环境: 官方下载spring的源码:记得切换分支,我下的是5.1.x https://github.com/spring-projects/spring-fram ...
分类:编程语言   时间:2020-12-28 11:50:19    阅读次数:0
Spring Bean配置
名称与标识 id 使用了约束中的唯一约束。里面不能出现特殊字符的 name 没有使用约束中的唯一约束。里面可以出现特殊字符。 设置对象的生命周期方法 init-method Bean被初始化的时候执行的方法 destroy-method Bean被销毁的时候执行的方法(Bean是单例创建,工厂关闭) ...
分类:编程语言   时间:2020-12-28 11:33:21    阅读次数:0
Spring Batch 源代码进行编译的时候提示仓库错误
在对 Spring Batch 源代码进行编译的时候,提示仓库配置错误错误: org.gradle.api.resources.ResourceException: Could not get resource 'http://repo.spring.io/plugins-release/org/s ...
分类:编程语言   时间:2020-12-28 11:13:10    阅读次数:0
Spring Boot + Layui + Spring Data JPA 实现前后端分离下简单增删改查分页操作
Spring Boot + Layui + Spring Data JPA 实现前后端分离下简单增删改查分页操作 1.项目背景 自己搭着玩,写个小demo 2.项目构成 后端:Spring boot 2.3 JDK1.8 数据库:Spring Data JPA MySQL 5.7.31 前端: La ...
分类:编程语言   时间:2020-12-28 11:04:17    阅读次数:0
SpringBoot 整合 Mongodb 配置的坑
spring: data: mongodb: database: test (自己创建的库) port: 3717 host: aliyun~.com username: username password: 123456 authentication-database: admin 这里有一个大坑 ...
分类:数据库   时间:2020-12-28 11:02:07    阅读次数:0
Git 在 Windows 克隆的时候提示错误 Filename too long
从 GitHub 克隆一个项目下发出现了错误: error: unable to create file spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springfram ...
分类:Windows程序   时间:2020-12-25 12:27:40    阅读次数:0
springboot学习(九)自动装配和Actuator
自动装配 Spring Boot大量使用XxxAutoConfiguration来使得许多组件被自动化配置并创建,而这些创建过程又大量使用了Spring的Conditional功能 当我们引入spring-boot-starter-jdbc,Spring Boot启动时会自动扫描所有的XxxAuto ...
分类:编程语言   时间:2020-12-25 12:10:29    阅读次数:0
52049条   上一页 1 ... 79 80 81 82 83 ... 5205 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!