lazy-initialization

This commit is contained in:
dzj 2023-12-24 19:42:51 +08:00
parent bbf9c50cbe
commit 69983d0efb
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>net.risesoft</groupId> <groupId>net.risesoft</groupId>
<artifactId>demo01</artifactId> <artifactId>demo01</artifactId>
<packaging>war</packaging> <packaging>jar</packaging>
<version>1.0</version> <version>1.0</version>
<name>demo01</name> <name>demo01</name>
@ -67,12 +67,12 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<exclusions> <!--<exclusions>
<exclusion> <exclusion>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId> <artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>-->
</dependency> </dependency>
<dependency> <dependency>

View File

@ -66,6 +66,7 @@ spring:
main: main:
allow-bean-definition-overriding: true allow-bean-definition-overriding: true
allow-circular-references: false allow-circular-references: false
lazy-initialization: false
docker: docker:
compose: compose:
enabled: false enabled: false