摘要: //lsof -i TCP:3306 查看占用 [root@cen8 ~]# lsof -i TCP:3306 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME docker-pr 1845 root 4u IPv4 50569 0t0 TCP * 阅读全文
posted @ 2021-12-30 22:58 TIFOSI_Z 阅读(711) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> <version>1.18.20</version></dependency> 20 阅读全文
posted @ 2021-12-24 14:32 TIFOSI_Z 阅读(71) 评论(0) 推荐(0) 编辑
摘要: maven打包 提示Please refer to ****\target\surefire-reports for the individual test results.pom中添加 <build> <plugins> <plugin> <groupId>org.apache.maven.plu 阅读全文
posted @ 2021-12-17 16:57 TIFOSI_Z 阅读(990) 评论(0) 推荐(0) 编辑
摘要: mvn dependency:tree //查看依赖树 阅读全文
posted @ 2021-12-13 10:12 TIFOSI_Z 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Cannot resolve org.springframework.boot... 查看本地仓库下载不完整 网上查到的解决方案 1, 到自己的.m2 文件夹或者指定的maven路径下把 xxx.lastUpdated文件全部删掉,重新运行maven 2, 或者在用maven时加 -U参数,就可以忽 阅读全文
posted @ 2021-12-02 11:43 TIFOSI_Z 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 网上看大部分是断点引起的问题 但是本项目的问题不同 在于 @Configuration public class WsConfig { @Value("${ws.username}") private String userName; @Value("${ws.password}") private 阅读全文
posted @ 2021-11-25 16:55 TIFOSI_Z 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Java中Long类型向前端返回值 主要在id之类的字段上 需要将Long转为String 例如: agencyId: "258323682286370816" 如果不转换直接传Long的话 就会变成 造成越界 数据错误 agencyId: 258323682286370800 阅读全文
posted @ 2021-11-16 11:03 TIFOSI_Z 阅读(79) 评论(0) 推荐(0) 编辑
摘要: //将两个类同名属性 source的布尔值 设置到目标值的同名字符类别属性上 true->"1" false->"0" public static void setSameNameField(Object source, Object target) throws InvocationTargetE 阅读全文
posted @ 2021-11-15 17:30 TIFOSI_Z 阅读(219) 评论(0) 推荐(0) 编辑
摘要: //此处用的包是 package org.springframework.beans; public static void copyProperties(Object source, Object target) throws BeansException { copyProperties(sou 阅读全文
posted @ 2021-11-02 17:25 TIFOSI_Z 阅读(38) 评论(0) 推荐(0) 编辑
摘要: @RequiredArgsConstructor(onConstructor_ = @Autowired) public class V3CauseCustomDaoImpl implements V3CauseCustomDao { private final BiDao biDao;privat 阅读全文
posted @ 2021-10-26 15:46 TIFOSI_Z 阅读(46) 评论(0) 推荐(0) 编辑