上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 60 下一页
摘要: Exception in thread "main" java.lang.UnsatisfiedLinkError: com.vipsoft.demo.JNIDemo.testHello()V at com.vipsoft.demo.JNIDemo.testHello(Native Method) 阅读全文
posted @ 2021-12-02 14:05 VipSoft 阅读(1684) 评论(0) 推荐(0)
摘要: a = [1, 2, 3, 5, 6, 5, 7, 8] b = [1, 3, 4, 5, 6, 3, 8, 7] print('A => %s' % a) print('B => %s' % b) print('-' * 50) for index, item in enumerate(a): # 阅读全文
posted @ 2021-11-30 21:49 VipSoft 阅读(705) 评论(0) 推荐(0)
摘要: 如图所示: 远程桌面连接,出现身份验证错误,要求的函数不受支持,这可能是由于 CredSSP 加密数据库修正 阅读全文
posted @ 2021-11-23 11:40 VipSoft 阅读(2095) 评论(2) 推荐(0)
摘要: 在将JSON格式的数据,整理到 Excel中查看时,可以通过文本替换的方式将JSON存到csv 后,使用 UltraEdit 编辑工具按需进行替换处理 去除多个空行 ^p^p 替换成 ^p 按逗号换行 , 替换成 ^r^n 反过来可以把多行整一行。 如果^r^n 找不到,用 ^n 阅读全文
posted @ 2021-11-03 08:43 VipSoft 阅读(431) 评论(0) 推荐(0)
摘要: 一般用户数据文件,缓存文件等,会默认放在C盘。而且有些程序必须装在C盘,久而久之,C盘空间越来越小,到后面没办法再安装使用一些程序。 可以将一些常用的移到D盘:特别是微信,动不动就几十个G的空间被占用 处理办法: 1. 将文档、桌面面移到其它盘符,如:D盘,好处:重装系统时,数据不会丢失。 2. 将 阅读全文
posted @ 2021-11-02 09:01 VipSoft 阅读(1247) 评论(0) 推荐(0)
摘要: 通过getter setter 模板设置 在实体类中 自动添加 @XmlTransient 按 【Alt+Insert】,弹出的提示中选择 Getter and Setter Xml Entity 实体互转(JAXB) Getter Template => JAXBGetter @XmlTransi 阅读全文
posted @ 2021-10-26 12:04 VipSoft 阅读(286) 评论(0) 推荐(0)
摘要: 感觉比 xStream 操作起来复杂些 Xml Entity 实体互转(XStream)。但学习成本低些,不需要引用第三方依赖包 需要注意的是 实体中如果加了 getXX 需要在上面加上 @XmlTransient 否则会报“类的两个属性具有相同的名称 Intellij idea getter se 阅读全文
posted @ 2021-10-22 13:01 VipSoft 阅读(399) 评论(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 阅读(276) 评论(0) 推荐(0)
摘要: JProfiler(Java性能分析神器) v11.1.4 下载 安装目录不要有空格 安装成功后,在 Intellij 里面选择对应的 jprofiler.exe 路径 点击下图JProfiler图标运行 启动完成会自动弹出JProfiler窗口,在里面就可以监控自己的代码性能了。 使用参考: ht 阅读全文
posted @ 2021-10-20 09:59 VipSoft 阅读(456) 评论(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 阅读(769) 评论(0) 推荐(0)
摘要: 添加自定义类: /** * 监控接口的健康情况 * */ @Component public class ApiHealthIndicator implements HealthIndicator { @Override public Health health() { Map<String, St 阅读全文
posted @ 2021-10-11 18:59 VipSoft 阅读(677) 评论(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 阅读(701) 评论(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 阅读(2981) 评论(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 阅读(1747) 评论(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 阅读(1528) 评论(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 阅读(1589) 评论(0) 推荐(0)
摘要: 打印 SQL 日志logbak.xml <?xml version="1.0" encoding="UTF-8"?> <configuration debug="true"> <!-- 省略...... --> <!-- mybatis打印sql语句 到 debug 下 --> <logger na 阅读全文
posted @ 2021-09-03 09:42 VipSoft 阅读(707) 评论(0) 推荐(0)
摘要: 思路,将依赖的第三方jar包,移到启动jar包个面外部加载 jar 包 SpringBoot Jar 包太大 瘦身 【初试】简单应用 SpringBoot Jar 包太大 瘦身 【终极版】,建议使用这种方式,如果是docker,通过映射的方式,不要将 lib 打到镜像里面 1.导出 依赖的 jar  阅读全文
posted @ 2021-09-02 15:31 VipSoft 阅读(3448) 评论(2) 推荐(0)
摘要: SpringBoot Jar 包太大 瘦身,建议使用时,参考: SpringBoot Jar 包太大 瘦身 【终极版】 29M, 排除少量JAR包方式 打包,排除指定jar 包 <build> <plugins> <plugin> <groupId>org.springframework.boot< 阅读全文
posted @ 2021-09-02 15:11 VipSoft 阅读(809) 评论(0) 推荐(0)
摘要: JAVA 获取 URL 指定参数的值 @Test void regexTest() { String url = "https://chuna2.787528.xyz/vipsoft/p/15213397.html?name=abc&age=123"; String result = getFieldV 阅读全文
posted @ 2021-09-01 10:02 VipSoft 阅读(2405) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 60 下一页