上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 57 下一页
摘要: 一般用户数据文件,缓存文件等,会默认放在C盘。而且有些程序必须装在C盘,久而久之,C盘空间越来越小,到后面没办法再安装使用一些程序。 可以将一些常用的移到D盘:特别是微信,动不动就几十个G的空间被占用 处理办法: 1. 将文档、桌面面移到其它盘符,如:D盘,好处:重装系统时,数据不会丢失。 2. 将 阅读全文
posted @ 2021-11-02 09:01 VipSoft 阅读(1155) 评论(0) 推荐(0)
摘要: 通过getter setter 模板设置 在实体类中 自动添加 @XmlTransient 按 【Alt+Insert】,弹出的提示中选择 Getter and Setter Xml Entity 实体互转(JAXB) Getter Template => JAXBGetter @XmlTransi 阅读全文
posted @ 2021-10-26 12:04 VipSoft 阅读(271) 评论(0) 推荐(0)
摘要: 感觉比 xStream 操作起来复杂些 Xml Entity 实体互转(XStream)。但学习成本低些,不需要引用第三方依赖包 需要注意的是 实体中如果加了 getXX 需要在上面加上 @XmlTransient 否则会报“类的两个属性具有相同的名称 Intellij idea getter se 阅读全文
posted @ 2021-10-22 13:01 VipSoft 阅读(377) 评论(0) 推荐(0)
摘要: http://x-stream.github.io/tutorial.html 项目中用了 JAXB 方式 Xml Entity 实体互转(JAXB) 实体: import com.thoughtworks.xstream.annotations.XStreamAlias; import com.t 阅读全文
posted @ 2021-10-22 10:57 VipSoft 阅读(269) 评论(0) 推荐(0)
摘要: JProfiler(Java性能分析神器) v11.1.4 下载 安装目录不要有空格 安装成功后,在 Intellij 里面选择对应的 jprofiler.exe 路径 点击下图JProfiler图标运行 启动完成会自动弹出JProfiler窗口,在里面就可以监控自己的代码性能了。 使用参考: ht 阅读全文
posted @ 2021-10-20 09:59 VipSoft 阅读(446) 评论(0) 推荐(0)
摘要: Admin 服务端配置 添加 POM 引用 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <depende 阅读全文
posted @ 2021-10-12 09:03 VipSoft 阅读(761) 评论(0) 推荐(0)
摘要: 添加自定义类: /** * 监控接口的健康情况 * */ @Component public class ApiHealthIndicator implements HealthIndicator { @Override public Health health() { Map<String, St 阅读全文
posted @ 2021-10-11 18:59 VipSoft 阅读(657) 评论(0) 推荐(0)
摘要: Spring Boot Admin 监控SpringBoot 服务的运行情况 https://codecentric.github.io/spring-boot-admin/2.3.0/#spring-boot-admin-server 1. Spring Boot Admin Server 服务端 阅读全文
posted @ 2021-10-09 13:11 VipSoft 阅读(690) 评论(0) 推荐(0)
摘要: java.util.concurrent.TimeoutException message Did not observe any item or terminal signal within 10000ms in 'map' (and no fallback has been configured 阅读全文
posted @ 2021-10-09 12:33 VipSoft 阅读(2935) 评论(0) 推荐(0)
摘要: 一直处于离线状态 spring.boot.admin.client.instance.prefer-ip Use the ip-address rather then the hostname in the guessed urls. If server.address / management.a 阅读全文
posted @ 2021-10-09 10:16 VipSoft 阅读(1722) 评论(0) 推荐(0)
摘要: 日志配置如下:如何将不同业务模块产生的日志 分多文件记录 此时 Spring Boot Admin 中看不了 Client 的日志 Logfile ViewerBy default the logfile is not accessible via actuator endpoints and th 阅读全文
posted @ 2021-10-08 14:16 VipSoft 阅读(1493) 评论(0) 推荐(0)
摘要: ERROR Failed to compile with 1 error TypeError: compilation.templatesPlugin is not a function - SetVarMainTemplatePlugin.js:17 SetVarMainTemplatePlugi 阅读全文
posted @ 2021-09-28 19:38 VipSoft 阅读(1563) 评论(0) 推荐(0)
摘要: 直接将值返回给对象 <select id="list" resultType="com.vipsoft.base.entity.UserInfo"> SELECT Id,Title FROM User </select> 如果字段和属性名不一致时,通过 resultMap 做映射 <resultMa 阅读全文
posted @ 2021-09-03 09:42 VipSoft 阅读(668) 评论(0) 推荐(0)
摘要: 思路,将依赖的第三方jar包,移到启动jar包个面外部加载 jar 包 SpringBoot Jar 包太大 瘦身 【初试】简单应用 SpringBoot Jar 包太大 瘦身 【终极版】,建议使用这种方式,如果是docker,通过映射的方式,不要将 lib 打到镜像里面 1.导出 依赖的 jar  阅读全文
posted @ 2021-09-02 15:31 VipSoft 阅读(3401) 评论(2) 推荐(0)
摘要: SpringBoot Jar 包太大 瘦身,建议使用时,参考: SpringBoot Jar 包太大 瘦身 【终极版】 29M, 排除少量JAR包方式 打包,排除指定jar 包 <build> <plugins> <plugin> <groupId>org.springframework.boot< 阅读全文
posted @ 2021-09-02 15:11 VipSoft 阅读(792) 评论(0) 推荐(0)
摘要: JAVA 获取 URL 指定参数的值 @Test void regexTest() { String url = "https://www.cnblogs.com/vipsoft/p/15213397.html?name=abc&age=123"; String result = getFieldV 阅读全文
posted @ 2021-09-01 10:02 VipSoft 阅读(2372) 评论(0) 推荐(0)
摘要: Nginx -t 时报 (3: The system cannot find the path specified) 原因:路径中有文件夹是中文,Nginx 全路径,不能包含中文 阅读全文
posted @ 2021-08-06 10:55 VipSoft 阅读(2099) 评论(0) 推荐(0)
摘要: 发现 static 或 public 下面的图片无法访问 spring: profiles: active: dev resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath 阅读全文
posted @ 2021-08-05 10:39 VipSoft 阅读(790) 评论(0) 推荐(0)
摘要: SoapUI 调WebService 报 No running communication point is configured to process this request. 错误 检查入参是否有特殊符号 <soap:Envelope xmlns:soap="http://www.w3.org 阅读全文
posted @ 2021-08-04 22:28 VipSoft 阅读(615) 评论(0) 推荐(0)
摘要: 开始提示 鼠标点到类名称上面,Alt+Enter 或者 通过小灯泡提示,点击生成 serialVersionUID 阅读全文
posted @ 2021-07-27 12:50 VipSoft 阅读(97) 评论(0) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 57 下一页