会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wang-1206
博客园
首页
新随笔
联系
订阅
管理
2022年1月17日
springboot访问html页面404问题
摘要: 常见的得导入thyme leaf包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
阅读全文
posted @ 2022-01-17 11:47 wang-1206
阅读(194)
评论(0)
推荐(0)
2022年1月11日
数组转list
摘要: 1、遍历数组然后添加到list中; 2、使用Arrays.aslist(数组)方法
阅读全文
posted @ 2022-01-11 09:50 wang-1206
阅读(131)
评论(0)
推荐(0)
2022年1月5日
spring boot中在yml中配置后如何在Java中使用
摘要: 例子: 配置对象:(在yml中的配置) person: name: "王五" age: 13 sex: "男" happy: "打球" 使用配置的对象: @Component @ConfigurationProperties(prefix = "person") @Data public class
阅读全文
posted @ 2022-01-05 11:23 wang-1206
阅读(175)
评论(0)
推荐(0)
JsonArray和JsonObject的使用
摘要: 1、使用依赖 <!-- https://mvnrepository.com/artifact/org.json/json --> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20201
阅读全文
posted @ 2022-01-05 10:35 wang-1206
阅读(74)
评论(0)
推荐(0)
公告