E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
AutoConfigure
聊聊spring.mvc.servlet.load-on-startup
序本文主要研究一下WebMvcProperties$Servletorg/springframework/boot/
autoconfigure
/web/servlet/WebMvcProperties.javapublicstaticclassServlet
·
2025-06-20 18:48
springboot
Spring Boot项目启动速度优化
1、配置自动配置排除列表,减少启动自动配置扫描,配置项spring.
autoconfigure
.exclude2、启动类添加索引注解@Indexed,去除启动过程中Components的扫描步骤,直接从索引文件读取
huangxr874668739
·
2025-06-17 11:58
Spring
Boot
spring
boot
java
启动速度优化
启动优化
SpringTask-03.入门案例
importlombok.extern.slf4j.Slf4j;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
天上掉下来个程小白
·
2025-06-13 17:22
苍穹外卖
java
spring
mybatis
苍穹外卖
spring
boot
springtask
通过RedisCacheManager自定义缓存序列化(适用通过注解缓存数据)
1.Redis注解默认序列化机制1.SpringBoot整合Redis组件提供的缓存自动配置类RedisCacheConfiguration(org.springframework.boot.
autoconfigure
.cache
axinawang
·
2025-06-12 17:58
springboot
bootstrap
spring
前端
SpringBoot引导类注解组合原理深度解析(34)
SpringBootApplication注解剖析1.1注解定义与核心功能@SpringBootApplication是SpringBoot应用的核心注解,位于org.springframework.boot.
autoconfigure
Android 小码蜂
·
2025-06-03 14:14
SpringBoot框架详解
spring
boot
java
后端
spring
开发语言
restful
SpringBoot3-web开发笔记(上)
web开发自动配置原理步骤:1、整合web场景(导入web场景启动器)org.springframework.bootspring-boot-starter-web2、引入了
autoconfigure
功能
2401_88481074
·
2025-04-16 01:30
SpringBoot3
前端
笔记
深入理解 Spring Boot 的@AutoConfiguration注解
一、注解出处与定义1.所属包与版本•包名:org.springframework.boot.
autoconfigure
•引入版本:SpringBoot2.7+(替代旧的自动配置注册方式)2.核心作用@AutoConfiguration
有诺千金
·
2025-04-11 10:56
spring
boot
后端
java
SpringBoot启动类
importlombok.extern.slf4j.Slf4j;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
NoBarLing
·
2025-03-10 21:03
SpringBoot
springboot
DynamicTp动态线程池组件
org.projectlomboklombokorg.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-
autoconfigure
-processorcom.alibaba.bootnacos-config-spring-boot-starter0.2.12org.droma
@淡 定
·
2025-02-15 01:00
python
开发语言
Spring boot面试题---- Spring Boot 自动配置的原理
这个文件中包含了许多配置信息,其中关键的是org.springframework.boot.
autoconfigure
.EnableAutoConfiguration的配置。
指尖下的技术
·
2025-01-16 18:12
spring
boot
oracle
数据库
完美解决 org.springframework.boot.
autoconfigure
.cache.CacheAutoConfiguration
Applicationrunfailedjava.lang.IllegalStateException:Errorprocessingconditiononorg.springframework.boot.
autoconfigure
.cache.CacheAutoConfig
go9898
·
2024-09-03 22:50
Java开发
spring
boot
后端
java
Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,b
:Errorcreatingbeanwithname'globalTransactionScanner'definedinclasspathresource[io/seata/spring/boot/
autoconfigure
醉梦依依惜(互粉互赞)
·
2024-02-15 08:01
异常系列
java
开发语言
异常
异常系列
seata错误
聊聊PowerJob Worker的ServerAddress
序本文主要研究一下PowerJobWorker的ServerAddressPowerJobAutoConfigurationtech/powerjob/worker/
autoconfigure
/PowerJobAutoConfiguration.java
·
2024-02-13 21:53
powerjob
SpringBoot切换内嵌容器原理
是在最近面试被人问到的,直接上源码(以下是SpringBoot2.x.x源码,SpringBoot1.5.x版本略微有不同,不再赘述):packageorg.springframework.boot.
autoconfigure
.web.embedded
i_cyy
·
2024-02-10 10:43
深入解析Spring Boot的依赖和自动配置
这里先谈spring-boot-start-web的内容,未来还会谈到spring-boot-
autoconfigure
文件夹的内容,所以图2
qq_36412195
·
2024-02-09 15:12
maven
java
spring
spring
boot
Spring Boot自动装配原理详解
主入口类packagecom.kuang;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
IT届扛把子
·
2024-02-08 23:14
聊聊PowerJob Worker的ServerAddress
序本文主要研究一下PowerJobWorker的ServerAddressPowerJobAutoConfigurationtech/powerjob/worker/
autoconfigure
/PowerJobAutoConfiguration.java
hello_ejb3
·
2024-02-08 13:21
java
解决IDEA Warning: Class ‘XXX‘ not found in module ‘XXX‘
SpringBoot启动类有一个红叉打开之前的SpringBoot项目,启动类上有一个红叉,但项目能正常启动解决方式:将importorg.springframework.boot.
autoconfigure
.SpringBootApplication
夢想家吖
·
2024-02-07 06:59
工作的坑
intellij-idea
spring
boot
java
druid配置wall导致无法批量sql
1、现象2、原配置spring:
autoconfigure
:exclude:com.alibaba.druid.spring.boot.
autoconfigure
.DruidDataSourceAutoConfiguredatasource
Azure、星宇
·
2024-02-06 19:03
其他
java
【Java报错】显示错误“Error:java: 程序包org.springframework.boot不存在“
使用idea运行项目,显示错误信息如下:原因是:idea配置的maven加载不到
autoconfigure
。
SarPro
·
2024-02-06 04:13
#
【Java】Error解决方案
java
intellij-idea
开发语言
错误解决
Springboot中的起步依赖和自动装配
自动配置各种
autoconfigure
后缀的和其他依赖。主要是指含有spring.factories的文件。注意,要是用EnableAutoConfiguration的依赖。
define_us
·
2024-02-06 02:53
spring
boot
java
spring
聊聊micrometer的HistogramGauges
HistogramGaugesAutoConfiguration针对springboot应用,配备有各种export的AutoConfiguration,详见org.springframework.boot.actuate.
autoconfigure
.metrics.export
go4it
·
2024-02-05 20:42
若依cloud 修改包名等
注意1、resource/Meta-INfo中的org.springframework.boot.
autoconfigure
.AutoConfig
张洪財
·
2024-02-04 07:22
java
mybatis
spring
SpringBoot启动报错: Error creating bean with name ‘“XXXX‘ defined in class path resource
Errorcreatingbeanwithname'requestMappingHandlerMapping'definedinclasspathresource[org/springframework/boot/
autoconfigure
缘不易
·
2024-02-03 02:40
springboot
spring
boot
使用springboot开发多模块管理系统笔记
packagecom.htcasting.web;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringB
MyDream2006
·
2024-02-02 18:36
spring
boot
java
spring
嵌入式学习之QT学习---12交叉编译Qt源码以及编译触摸
/
autoconfigure
.sh总失败。编译提示错误:unrecognizedcommandlineoption“-std=c++11”以及“invalidconfiguration…”出现这个错
要努力丫!
·
2024-02-02 17:11
ITOP4412学习
QT
qt
ubuntu
Shiro+ Springboot 报错 required a bean named 'authorizer' that could not be found
Description:Parameter0ofmethodauthorizationAttributeSourceAdvisorinorg.apache.shiro.spring.boot.
autoconfigure
.ShiroAnnotationProcessorAutoConfigurationrequi
一颗小小的石头.
·
2024-02-01 19:03
Shiro
Spring
boot
spring
boot
shiro
springboot---四大核心
四大核心Starter简介总结
Autoconfigure
简介示例原理自定义starter打包实践总结CLIActuatorStarter简介springboot项目中几乎项目依赖中基本上全是各种各样的starter
lipviolet
·
2024-01-31 18:40
spring
boot
后端
java
@ConditionalOnClass的编译问题,用示例让你明白!
如以下内容packagecom.example.child.config;importcom.example.parent.model.Test;importorg.springframework.boot.
autoconfigure
.condition.ConditionalOnClass
下雨天u
·
2024-01-31 11:34
java
开发语言
springboot极简入门demo
SNAPSHOT4.0.0com.et59.demodemo88org.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-
autoconfigure
2
AskHarries
·
2024-01-31 08:31
spring
boot
后端
java
spring
自定义Starter
01.引入依赖org.springframework.bootspring-boot-
autoconfigure
2.7.202.创建标记(只有引用此starter的应用中扫描到标记类才开启自动配置)publicclassWorkflowConfigMarker
赵帅童学
·
2024-01-30 11:00
idea 创建 spring boot
packagecom.example.comxjctest4;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
科学的发展-只不过是读大自然写的代码
·
2024-01-30 07:07
spring
boot
idea
java
spring
boot
intellij-idea
java
聊聊springboot elasticsearch
autoconfigure
序本文主要研究一下springbootelasticsearchautoconfigureElasticsearchAutoConfigurationspring-boot-
autoconfigure
-
go4it
·
2024-01-30 03:59
RedisAutoConfiguration
org.springframework.boot.
autoconfigure
.data.redis.RedisAutoConfiguration
BenjaminCool
·
2024-01-29 10:17
Spring Boot使用@Scheduled定时器任务
importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
keli_Jun
·
2024-01-28 22:54
SpringBoot
spring
boot
定时任务
cron
Scheduled
2018-11-07
项目的启动问题,项目一启动就报错:java.lang.IllegalStateException:Errorprocessingconditiononorg.springframework.boot.
autoconfigure
.task.TaskExecutionAutoConfiguration.taskExecutorBuilderatorg.springfram
乘风破浪钢铁侠
·
2024-01-28 21:14
SpringBoot将第三方的jar中的bean对象自动注入到ioc容器中
需要准备两个类,一个自动配置类,一个配置类CommonAutoConfig:此类用于做自动配置类它会去读取resoutces下的META-INF.spring下的org.springframework.boot.
autoconfigure
.AutoConfiguration.imports
AAACod
·
2024-01-28 13:49
spring
boot
jar
Spring Boot Actuator-WEB Endpoints
█自动配置META-INF/spring.factories:org.springframework.boot.
autoconfigure
.EnableAutoConfiguration=\org.springframework.boot.actuate.autoconfig
www.Rui
·
2024-01-26 20:11
博客
spring
boot
snakeyaml was not found on the classpath 错误
application.yml]butsnakeyamlwasnotfoundontheclasspathpom依赖包引用错误自动配置的包引入出错org.springframework.bootspring-boot-
autoconfigure
良人与我
·
2024-01-26 17:59
Spring(21) 在 Spring Boot 中使用 Undertow 作为嵌入式服务器
Undertow介绍三、SpringBoot中使用Undertow四、配置属性4.1配置文件4.2编程式配置五、补充5.1启动时的警告日志一、四种Web服务器通过org.springframework.boot.
autoconfigure
.web.ServerProp
ACGkaka_
·
2024-01-26 08:41
Spring
spring
spring
boot
服务器
SpringBoot DELETE请求时遇405报错问题(已解决)
我使用了JQuery的方式动态的将表单进行提交,下面是JQuery的代码,如下所示:在实践过程中,点击删除按钮,跳转到SpringBoot默认的错误页面,如下图所示:出现问题原因在于,springboot-
autoconfigure
所幸你是例外
·
2024-01-25 11:35
SpringBoot
spring
boot
Spring Boot 中的自动配置(
autoconfigure
)
SpringBoot中的自动配置(
autoconfigure
)一、自动配置的原理二、关键注解和类1.@EnableAutoConfiguration注解2.
小宝945
·
2024-01-25 09:12
Spring
Boot
spring
boot
后端
java
OAuth2自动配置源码解读,与类相互之间关系
org.springframework.boot.
autoconfigure
.EnableAutoConfiguration=\org.springframework.boot.autoconfigur
swg321321
·
2024-01-24 21:21
#
SpringBoot
开发语言
java
SpringBoot自动配置(待完善)
@EnableAutoConfiguration开启自动解析配置类根据classpath下的依赖自动配置条件注解自动配置配置文件配置属性spring.
autoconfigure
.
kk_0910
·
2024-01-24 20:35
springboot
springboot可配置开启自定义starter
可配置starter编写1引入依赖org.springframework.bootspring-boot-
autoconfigure
2增加配置类@ConfigurationpublicclassNftServerStartConfiguration
Marlon520
·
2024-01-23 21:05
spring
boot
java
后端
SpringBoot 自动装配
Import的注解,获取AutoConfigurationImportSelector类调用AutoConfigurationImportSelector.selectImports方法获取装配类spring-
autoconfigure
-metadata.properties
罗志宏
·
2024-01-22 12:39
java
中间件
java
spring
boot
spring-boot-starter自定义
Springbootstarter组件有两种方式@EnableXX和
autoconfigure
通过spring的spi加载对于官方组件,是基于condition条件来决定对于类是否要自动装配,对于第三方组件
向着风奔跑
·
2024-01-21 08:05
springboot
spring
java
spring
boot
spring cloud gateway自定义负载均衡, 优先转发到指定IP
示例为优先将请求分配到指定IP,如果指定IP没有服务,则随机分配.GatewayLoadBalancerConfiguration.java挂载配置类,可以通过@org.springframework.boot.
autoconfigure
.condition.ConditionalOnXXX
ly-chn
·
2024-01-19 10:55
负载均衡
java
spring
cloud
springboot
SpringBoot项目使用Spring-Task实现定时任务
在启动类上加@EnableScheduling注解importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
Java界第一深情
·
2024-01-18 15:12
spring
spring
boot
后端
SpringBoot集成MyBatis原理
ConfigurationClassPostProcessor这个BeanFactory的后置处理器中,会读取spring.factories配置文件中的org.springframework.boot.
autoconfigure
.EnableAutoConfiguration
心雨艰程
·
2024-01-16 11:13
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他