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
nacos-注册源码剖析
com.alibaba.cloudspring-cloud-starter-alibaba-nacos-discovery在依赖里找到这个jar包,再找到spring.factories,如下org.springframework.boot.
autoconfigure
.Enabl
不写是真记不住啊
·
2021-04-20 22:49
微服务
spring
cloud
alibaba
Jackson全面解析--SpringBoot集成Jackson一(
autoconfigure
)
一般来说,在sb中,如果要激活某个组件,都会在spring-boot-
autoconfigure
中进行
autoconfigure
,果不其然,我们在其中发现了JacksonAutoConfiguration
牧羊人刘俏
·
2021-04-18 14:02
如何自定义SpringBoot starter
上一篇>>SpringBoot启动流程说明1.定义starter1.1引入依赖spring-boot-
autoconfigure
:自动配置spring-boot-configuration-processor
架构师_迦叶
·
2021-04-18 05:11
Spring Boot 定时任务 -- @Scheduled
EnableScheduling注解,开启对定时任务的支持importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.Spr
又语
·
2021-04-14 02:32
使用oauth2认证用户名和密码
org.springframework.securityspring-security-dataorg.springframework.cloudspring-cloud-starter-oauth2trueorg.springframework.security.oauth.bootspring-security-oauth2-
autoconfigure
2.1.3
曹元_
·
2021-04-13 06:20
详解SpringBoot健康检查的实现原理
org.springframework.bootspring-boot-starter-actuator然后在org.springframework.boot.spring-boot-actuator-
autoconfigure
·
2021-03-12 19:57
SpringBoot如何实现Tomcat自动配置
目录准备工作我们知道SpringBoot的自动装配的秘密在org.springframework.boot.
autoconfigure
包下的spring.factories文件中,而嵌入Tomcat的原理就在这个文件中加载的一个配置类
·
2021-03-12 19:56
基于springcloud异步线程池、高并发请求feign的解决方案
ScenTaskTestApplication.javapackagecom.test;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
·
2021-02-25 12:59
spring boot 实现配置多个DispatcherServlet最简单方式
只需要在web.xml里配置多个即可,并且支持多个url-pattern在springboot中,我们默认无需配置,系统会自动装配一个,感兴趣的可以看下源码org.springframework.boot.
autoconfigure
.web.servlet.DispatcherServletAutoConfiguration
·
2021-02-21 15:02
RocketMQ RocketMQMessageListener注解自动配置源码
org.apache.rocketmq.spring.
autoconfigure
.ListenerContainerConfiguration//根据注解查找所有bean@OverridepublicvoidafterSingletonsInstantiated
路过君_P
·
2021-02-07 11:03
rocketmq
rocketmq
关于Spring boot项目启动过程分析
注解描述的类为启动入口类,例如:packagecom.cy;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
·
2021-02-04 14:28
javaspringboot
springboot 实现bean手动注入操作
ApplicationListener,实现方法onApplicationEvent,初始化上下文packagetest.projectTest;importorg.mybatis.spring.boot.
autoconfigure
.MybatisAutoConfiguration
·
2021-01-28 18:15
SpringBoot自动装配-@Conditional条件装配和自定义Starter
Conditional1.1@Conditional案例1:@Conditional实现条件装配1.2SpringBoot中的@Conditional案例2:@Conditional扩展1.3spring-
autoconfigure
-metadata
Zong_0915
·
2021-01-21 21:07
第一章、测试环境搭建
packagecom.waylau.spring.boot.blog.initializrstart;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
荒--
·
2021-01-14 22:19
springBoot 自定义 starter 插件
maven依赖org.springframework.bootspring-boot-
autoconfigure
写spring.factories方式@Configuration@ConfigurationProperties
Redorblack
·
2020-12-24 17:14
java
springboot
springboot 注解_Spring Boot – 注解
概述springboot注解大部分是在org.springframework.boot.
autoconfigure
和org.springframework.boot.
autoconfigure
.condition
weixin_39562234
·
2020-12-18 04:24
springboot
注解
SpringBoot启动源码不一样的解析(一)
packagecom.ls.platforms.operateplatform;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
wzx7612302
·
2020-12-03 16:12
spring
java
spring
boot
Message: Error creating bean with name ‘servletEndpointRegistrar‘
Errorcreatingbeanwithname'servletEndpointRegistrar'definedinclasspathresource[org/springframework/boot/actuate/
autoconfigure
低山高水
·
2020-10-02 22:27
springcloud
springboot
spring
boot
Java之遍历文件夹下的文件,以及读取内容并Copy到另一文件夹下
packagecom.example.demo.controller;importch.qos.logback.core.net.SyslogOutputStream;importorg.springframework.boot.
autoconfigure
.EnableAutoConfiguration
漂亮的回旋踢t
·
2020-09-17 14:29
java
文件遍历
文件夹操作
拷贝文件
springboot+jpa 单元测试的时候启动就报错了
:Errorcreatingbeanwithname'entityManagerFactory'definedinclasspathresource[org/springframework/boot/
autoconfigure
weixin_42296581
·
2020-09-17 13:03
SpringBoot添加多个数据源
application.properties3.配置类4.新建服务类5.Mapper6.注意1.启动类packagecom.jack.hhitseat;importorg.mybatis.spring.boot.
autoconfigure
.MybatisAutoConfiguration
Jack魏
·
2020-09-17 05:08
技术分享
浩哥的JAVA之路
访问多个数据库
SpringBoot
Spring访问多个数据库
springboot项目不配置数据源启动报错
springboot默认会加载org.springframework.boot.
autoconfigure
.jdbc.DataSourceAutoConfiguration在启动类上加上@SpringBootApplication
CL@NPU
·
2020-09-17 00:33
java
org.springframework.core.NestedIOException: Failed to parse mapping resource:...
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'sqlSessionFactory'definedinclasspathresource[org/mybatis/spring/boot/
autoconfigure
qq_40019011
·
2020-09-16 23:12
springboot
mybatis
generator
MyBatis:Could not resolve type alias 'BaseResultMap'. 报错
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'sqlSessionFactory'definedinclasspathresource[tk/mybatis/mapper/
autoconfigure
最后残留的梦
·
2020-09-16 23:57
MyBatis
配置问题
java.lang.reflect.InvocationTargetExceptionattk.mybatis.spring.mapper.SpringBootBindUtil$SpringBoot2Bind.bind(SpringBootBindUtil.java:129)~[mapper-spring-boot-
autoconfigure
幸福女神
·
2020-09-16 18:11
报错解决异常
Consider renaming one of the beans or enabling overriding by setting
Description:Thebean'propertySourcesPlaceholderConfigurer',definedinclasspathresource[org/springframework/boot/
autoconfigure
chengou7698
·
2020-09-16 18:15
java
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definiti...
Description:Thebean'characterEncodingFilter',definedinclasspathresource[zipkin/
autoconfigure
/ui/ZipkinUiAutoConfiguration.class
weixin_30675967
·
2020-09-16 17:15
java
Springboot 禁用数据库自动配置
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'spring.datasource-org.springframework.boot.
autoconfigure
.jdbc.DataSourc
wyw815514636
·
2020-09-16 06:53
关于请求注解重复的坑Ambiguous mapping. Cannot map 'XXXController' method
错误信息definedinclasspathresource[org/springframework/boot/
autoconfigure
/web/servlet/WebMvcAutoConfiguration
gaofengjiao1
·
2020-09-16 05:47
错误收集
注解重复Ambiguous
mapping.
Cannot
map
'
springboot shiro 解决https redirect重定向后https变成http问题
配置过滤器importorg.springframework.boot.
autoconfigure
.condition.ConditionalOnProperty;importorg.springframework.boot.web.servlet.FilterRegistrationBean
newtelcom
·
2020-09-16 03:40
Java
Web
修改spring boot默认的8080端口为其它端口
importjavafx.application.Application;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.EnableAutoConfig
whh743
·
2020-09-16 00:21
spring
boot
SpringBoot整合异步任务以及使用场景
开启异步任务packagecom.imooc;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
男孩李
·
2020-09-15 19:06
boot
SpringBoot异步任务
SpringBoot
springboot启动失败!Failed to introspect Class!
先上异常:Causedby:java.lang.IllegalStateException:FailedtointrospectClass[org.springframework.boot.
autoconfigure
.web.servlet.WebMvcAutoConfiguration
upc_xiaowuzi
·
2020-09-15 13:31
灭霸
spring boot 2.x版本:启动报错:Error creating bean with name 'dataSource' defined in class path resource
错误日志如下:Errorcreatingbeanwithname'dataSource'definedinclasspathresource[com/alibaba/druid/spring/boot/
autoconfigure
会飞的鱼__
·
2020-09-15 02:24
java
SpingBoot
spingboot
java
SpringBoot启动时报错:Error creating bean with name 'dataSource' defined in class..........
如果pom.xml中没有配置mybatis的依赖,出现这个错误那么Springboot启动时会默认加载org.springframework.boot.
autoconfigure
.jdbc.DataSourceAutoConfiguration
桃花影落丶飞神剑
·
2020-09-15 02:47
SpringBoot
Java
spring
boot
java
SpringBoot运行时dataSource创建失败的解决办法
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'dataSource'definedinclasspathresource[com/alibaba/druid/spring/boot/
autoconfigure
小小小手手啊
·
2020-09-15 01:56
Java
MyBatis
SpringBootTest 测试工具
测试支持由两个模块提供:spring-boot-test包含核心项,spring-boot-test-
autoconfigure
支持测试的自动配置。
逸飞兮
·
2020-09-14 22:56
spring-boot
java
springboot
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetExceptionattk.mybatis.spring.mapper.SpringBootBindUtil$SpringBoot2Bind.bind(SpringBootBindUtil.java:129)~[mapper-spring-boot-
autoconfigure
编程菜农
·
2020-09-14 15:17
异常
问题解决:Java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
:Errorcreatingbeanwithname'entityManagerFactory'definedinclasspathresource[org/springframework/boot/
autoconfigure
keisunique
·
2020-09-14 14:32
问题解决
springboot整合cxf框架启动报错
APPLICATIONFAILEDTOSTART***************************Description:Parameter1ofconstructorinorg.springframework.boot.
autoconfigure
.web.servlet.error.ErrorMvcAutoConfigurati
兴跃神话
·
2020-09-14 02:38
异常
idea整合redis、kafka、es
espackagecom.example.demokafkaredises;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
weixin_46981685
·
2020-09-13 23:43
elasticsearch
redis
Idea练习简单的列表添加修改
importorg.mybatis.spring.annotation.MapperScan;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
weixin_46981685
·
2020-09-13 23:42
java
Error creating bean with name 'org.springframework.boot.
autoconfigure
.jdbc.DataSourceAutoConfigurati
原因:这是因为springboot会默认加载org.springframework.boot.
autoconfigure
.jdbc.DataSourceAutoConfiguration这个类,DataSourceAutoConfiguration
itke
·
2020-09-13 20:55
Exception
spring.factories一大堆
\META-INF\spring.factoriesorg.springframework.boot.
autoconfigure
.EnableAutoConfiguration=\or
ronrong948
·
2020-09-13 17:08
随手记
创建springboot启动类时 @SpringBootApplication无法被引入
删掉本地仓库repository\org\springframework\boot目录下的spring-boot-
autoconfigure
文件夹,然后在工程中maven->updateproject
老人头yjkyjk
·
2020-09-13 13:46
springbot
springboot项目main函数启动
appController类packagecontroller;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.
autoconfigure
.SpringBootApplication
cbw码哥
·
2020-09-13 12:27
springboot
springboot搭建初始@SpringBootApplication无法引入的
需要删掉repository\org\springframework\boot目录下的spring-boot-
autoconfigure
文件夹即可,然后在工程
MIT的梦
·
2020-09-13 02:57
思想心得
Spring boot配置多数据源
一、Springboot的默认单数据源1、数据源类型Springboot默认支持4种数据源类型,定义在org.springframework.boot.
autoconfigure
.jdbc.DataSourceAutoC
zzzghj
·
2020-09-13 00:52
接口自动化测试
json+ajax+pagehelper分页:
com.github.pagehelperpagehelper-spring-boot-starter1.1.1com.github.pagehelperpagehelper-spring-boot-
autoconfigure
1.2.3application.properties
FtLnnL
·
2020-09-12 22:00
java
springboot+mybatis整合分页插件PageHelper
1.在pom.xml中引入依赖:com.github.pagehelperpagehelper5.0.0com.github.pagehelperpagehelper-spring-boot-
autoconfigure
1.2.3com.github.pagehelperpagehelper-spring-boot-starter1.2.32
javahanshao
·
2020-09-12 19:33
mybatis
上一页
5
6
7
8
9
10
11
12
下一页
按字母分类:
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
其他