上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 91 下一页
摘要: 1 (1) 1 package com.haifei.springboot12listener.listener; 2 3 import org.springframework.context.ApplicationContextInitializer; 4 import org.springfra 阅读全文
posted @ 2021-08-02 16:10 yub4by 阅读(254) 评论(0) 推荐(0)
摘要: 1 实现 1 package com.haifei.redis.config; 2 3 import org.springframework.boot.context.properties.EnableConfigurationProperties; 4 import org.springframe 阅读全文
posted @ 2021-08-02 14:56 yub4by 阅读(346) 评论(0) 推荐(0)
摘要: 1 分析 https://mvnrepository.com/ 2 创建项目 创建springboot模块时,Spring Initializr报错Error:connect timed out,解决如下 (1)不好使-舍弃 https://blog.csdn.net/qq_37846741/art 阅读全文
posted @ 2021-08-01 20:29 yub4by 阅读(231) 评论(0) 推荐(0)
摘要: 1 // 2 // Source code recreated from a .class file by IntelliJ IDEA 3 // (powered by Fernflower decompiler) 4 // 5 6 package org.springframework.boot. 阅读全文
posted @ 2021-08-01 18:13 yub4by 阅读(75) 评论(0) 推荐(0)
摘要: 1 导入Bean 1 package com.haifei.domain; 2 3 public class User { 4 } 1 package com.haifei.config; 2 3 import com.haifei.domain.User; 4 import org.springf 阅读全文
posted @ 2021-08-01 14:42 yub4by 阅读(124) 评论(0) 推荐(0)
摘要: 1 创建模块1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst 阅读全文
posted @ 2021-08-01 14:39 yub4by 阅读(81) 评论(0) 推荐(0)
摘要: // // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package org.springframework.boot.autoconfigur 阅读全文
posted @ 2021-07-31 23:28 yub4by 阅读(91) 评论(0) 推荐(0)
摘要: 1 1 package com.haifei.springboot8condition; 2 3 import org.springframework.boot.SpringApplication; 4 import org.springframework.boot.autoconfigure.Sp 阅读全文
posted @ 2021-07-31 22:43 yub4by 阅读(77) 评论(0) 推荐(0)
摘要: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 阅读全文
posted @ 2021-07-31 12:08 yub4by 阅读(73) 评论(0) 推荐(0)
摘要: 1 springboot默认连接本地redis,默认6379端口号,不需要配置,注入redisTemplate后直接使用即可 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/ 阅读全文
posted @ 2021-07-31 10:58 yub4by 阅读(424) 评论(0) 推荐(0)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 91 下一页