java
文章平均质量分 60
java记录
旬旬张
这个作者很懒,什么都没留下…
展开
-
设计模式-建造者模式
package com.zwl.service;import java.util.Map;import java.util.TreeMap;/** * 构建者模式 */public class BuildConstruct { private String name; private Map<String,String> mapAddress; private BuildConstruct() { } public static .原创 2022-03-21 09:23:54 · 376 阅读 · 0 评论 -
【Spring Cloud】服务启动过程中连接Fetching config from server at : http://localhost:8888
1、微服务启动报错:2019-05-06 15:10:31.436 INFO 20248 — [ restartedMain] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:88882019-05-06 15:10:32.533 INFO 20248 — [ restartedMain] c.c.c.ConfigServicePropertySourceLocato转载 2022-01-26 10:38:55 · 1862 阅读 · 0 评论 -
idea-remote远程调试
1.场景1.1 测试远程代码,加密等无法本地测试的内容时;1.2 本地因为缺少依赖等无法,无法实现代码启动时;2.配置2.1 配置idea的remote配置;步骤2.2 增加启动参数:-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999或者:-Xdebug -Xrunjdwp:transport=dt_socket,address=8012,server=y,suspend=...原创 2022-01-26 10:29:20 · 2380 阅读 · 0 评论