a @Import imports the component, the id is the full class name of the component by default 1 //The components in the class are set uniformly. All bean registrations configured in this class will
Tag: spring
Initialize the problem encountered in Spring Boot
Cannot connect to localhost:8080 1
2
3
4
< /span>
org.springframework.boot
spring-boot-starter< /artifactId>
< /figure> This code in pom.xml is changed to
org.springframework.boot
Problems encountered in development – [Spring-security permission control framework]
1. When the console displays an error message: Bad credentials, there is a problem with the password. Check the password and verify it.
2. When the form form submits data, the default formdat
Common annotations for Spring
The Spring framework mainly includes IoC and AOP, both of which can be configured using annotations.
Development environment: IntelliJ IDEA 2019.2.2
Spring Boot version: 2.1.8
Create a new Sp
Spring overview
IOC Brief Description IOC (DI): Actually, the core concept of the Spring architecture does not It’s so complicated, and it’s not as obscure as described in some books. Java programmers know that: e
In-depth Spring Cache use and integration (attachment analysis)
In-depth understanding of the use and integration of Spring Cache (with source code analysis) Personal development environment
Java environment: Jdk1.8.0_60
Compiler: IntelliJ IDEA 201
Springboot Series: Spring Boot Integrated Spring Cache
Do you know the Spring things control feature?
1. Transaction characteristics
Atomicity: Emphasizes the indivisibility of transactions
Consistency: Emphasizes that the integrity of the data must be consistent before and after the execution of t
Spring Automatic AOP
First, jar can be imported into the project. After copying to the road, you must add as library and load it into the workspace before importing;
The jar package is also placed outside the pro
Spring container creates way to bean objects
There is bean configuration in the xml file, and the java class corresponding to this bean There is a parameterless constructor in
Then at this time, the spring container can use reflection t