读取yml文件内容变成java实体类

时间:2025-04-04 21:19:53
<dependency> <groupId></groupId> <artifactId>jackson-dataformat-yaml</artifactId> <version>2.11.1</version> </dependency> <dependency> <groupId></groupId> <artifactId>jackson-core</artifactId> <version>2.11.1</version> </dependency> <dependency> <groupId></groupId> <artifactId>jackson-databind</artifactId> <version>2.11.1</version> </dependency> <dependency> <groupId></groupId> <artifactId>jackson-annotations</artifactId> <version>2.11.1</version> </dependency>