上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 35 下一页
摘要: 我是git commit时不能输入中文,亲测有效 1、点击菜单help->Edit Custom VM Options 2、最后一行追加 -Drecreate.x11.input.method=true 阅读全文
posted @ 2022-06-24 22:18 翠微 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 【VUE】错误记录 阅读全文
posted @ 2022-06-18 20:21 翠微 阅读(7) 评论(0) 推荐(0) 编辑
摘要: @Configuration和@EnableConfigurationProperties和@AutoConfigureBefore和@AutoConfigureAfter 阅读全文
posted @ 2022-06-16 17:42 翠微 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 【Java Web】条件Bean@ConditionalOnResource 注解仅仅会加载classpath中指定的资源,资源存在则创建对象,资源不存在则不创建对象。外部资源文件无法加载,想要使用外部资源文件参考: resources目录下资源application.properties,存在则创 阅读全文
posted @ 2022-06-16 16:46 翠微 阅读(279) 评论(0) 推荐(0) 编辑
摘要: cd E:/env/nginx-1.16.0 测试配置文件 nginx -t -c E:/env/nginx-1.16.0/conf/nginx.conf 启动 nginx -c E:/env/nginx-1.16.0/conf/nginx.conf tasklist /fi "imagename 阅读全文
posted @ 2022-06-15 15:18 翠微 阅读(47) 评论(0) 推荐(0) 编辑
摘要: https://chenyongjun.vip/articles/77 java -Djavax.net.debug=all -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" -Dhttps.protocols="TLSv1,TLSv1.1,TLS 阅读全文
posted @ 2022-06-09 15:01 翠微 阅读(81) 评论(0) 推荐(0) 编辑
摘要: @ConditionalOnProperty 根据属性值创建对象 属性存在且值匹配时创建,不存在时不创建。my-config.enable-property = true时才会创建对象 my-config.enable-property = true import org.springframewo 阅读全文
posted @ 2022-06-08 09:51 翠微 阅读(506) 评论(0) 推荐(0) 编辑
摘要: java @Value("${encryptEnable:false}") boolean encryptEnable; 配置中心 encryptEnable java @RefreshScope //修复自动刷新 @ConfigurationProperties(prefix = "encrypt 阅读全文
posted @ 2022-06-02 11:04 翠微 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 【Java SE】http请求HttpClient 文档:https://hc.apache.org/httpcomponents-client-4.5.x/current/tutorial/html/fundamentals.html 依赖 <dependency> <groupId>org.ap 阅读全文
posted @ 2022-05-26 15:03 翠微 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 【Java SE】http请求RestTemplate RestTemplate对象 @Configuration public class RestTemplateConfiguration { @Bean public RestTemplate restTemplate() { HttpComp 阅读全文
posted @ 2022-05-26 15:03 翠微 阅读(36) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 35 下一页