随笔分类 -  Debug

1 2 3 4 5 下一页

Debug - MySQL - Err 1062 duplicate entry xxxx for key xxx
摘要:可能原因1 脏数据存在 可能原因2 当你手动刷sql修改表结构时,可能这张表正有写库操作。 一边写库一边修改表结构,就会出现这种错误。。。原因未知,猜测和锁表有关系 两次错误提示: 详细的数据是不一样的....而且日期是今天的,说明不是脏数据 等待写库程序结束,再刷表就没有报错了 阅读全文

posted @ 2023-11-06 18:00 frank_cui 阅读(22) 评论(0) 推荐(0) 编辑

Debug - Navivat创建Oracle连接时,报错 cannot create oci environment
摘要:报错信息 cannot create oci environment 解决方案 这个问题的原因是navicat不能创建oci的环境。在工具-->选项-->其他-->oci中配置中默认是指向在安装路径下的instantclient_10_2/oci.dll。按默认的其实是不对的,这个oci.dll应该 阅读全文

posted @ 2023-02-06 17:01 frank_cui 阅读(495) 评论(0) 推荐(0) 编辑

Debug - 某个方法一直报NPE错,无论怎么加防御式编程、try catch均无效
摘要:问题描述 最初的错误是,在fane-lib-java包里,出现了NPE异常。 我的应用程序,引用了一个fane-lib-java包。lib包中的fane-core 和 fane-data-sdk-plus两个module. 由于在本地windows机器local debug、直接运行、鼠标追踪,均是 阅读全文

posted @ 2022-12-09 11:31 frank_cui 阅读(57) 评论(0) 推荐(0) 编辑

Debug - Method threw 'java.lang.StackOverflowError' exception
摘要:一、问题背景 报错信息: Method threw 'java.lang.StackOverflowError' exception. Cannot evaluate com.huatai.nats.model.quant.basic.ComparableSecurityMonitoring.toS 阅读全文

posted @ 2022-11-17 15:12 frank_cui 阅读(473) 评论(0) 推荐(0) 编辑

gRPC - Debug - Channel ManagedChannelImpl was not shut down properly
摘要:问题描述 生产代码报错: 2022-10-31T09:06:46,530 [portRiskService-1002-2950@168-63-70-238:8] ERROR io.grpc.internal.ManagedChannelOrphanWrapper - *~*~*~ Channel M 阅读全文

posted @ 2022-10-31 14:17 frank_cui 阅读(2193) 评论(0) 推荐(0) 编辑

Debug - Oracle索引未生效的问题
摘要:问题描述 2022-09-26T14:13:02,065 [ComparableSecurity-thread-1] INFO com.huatai.nats.api.impl.client.Client - Query done(total=6), sql=select * from FICC_D 阅读全文

posted @ 2022-09-26 18:24 frank_cui 阅读(79) 评论(0) 推荐(0) 编辑

Debug - Error: Could not find or load main class ***
摘要:问题描述 新服务部署后,run.log只显示一行 Error: Could not find or load main class XXX 解决办法 错误信息其实说的很明白,找不到/无法加载主函数类XXX 可能是没有写完整的主类名字(需要完整包名)或者主类名字写错(不是写的主类的名字而是写的文件名) 阅读全文

posted @ 2022-08-09 17:25 frank_cui 阅读(178) 评论(0) 推荐(0) 编辑

Debug - @Value无法注入
摘要:原因1:@Value无法注入static属性 注意:使用@Value直接放在static的属性上是无法注入内容的!!!此方式会一直是null.如下图 发现@value不能直接注入值给静态属性,spring 不允许/不支持把值注入到静态变量中; spring支持set方法注入,我们可以利用非静态set 阅读全文

posted @ 2022-06-20 11:01 frank_cui 阅读(223) 评论(0) 推荐(0) 编辑

Debug - MyBatis, SpringBoot对应关系
摘要:结论 mybatis-spring-boot-starter的版本需要注意: 2.1.x版本适用于:MyBatis 3.5+、Java 8+、Spring Boot 2.1+2.0.x版本适用于:MyBatis 3.5+、Java 8+、Spring Boot 2.0/2.11.3.x版本适用于:M 阅读全文

posted @ 2022-06-20 10:54 frank_cui 阅读(2765) 评论(0) 推荐(0) 编辑

Debug - HikariPool-1 - dataSource or dataSourceClassName or jdbcUrl is required 解决方案
摘要:问题表现 我自己遇到的问题是: ### Error querying database. Cause: java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl is required.### T 阅读全文

posted @ 2022-06-20 10:52 frank_cui 阅读(3129) 评论(0) 推荐(0) 编辑

Devops - 无法找到target文件夹里的zip
摘要:问题: + date Wed May 18 17:54:04 CST 2022 + pwd /home/jenkins/workspace/001227/dailyCiPipeline4Java2Ficc_001227_FICC-ComparableSecurityService_10184/COD 阅读全文

posted @ 2022-05-19 10:46 frank_cui 阅读(49) 评论(0) 推荐(0) 编辑

Debug - java.lang.NoSuchMethodError 原因和处理方案
摘要:一、问题描述 工程中明明有该方法,却提示 java.lang.NoSuchMethodError 错误 二、原因 若刚刚改了代码,才出现这个问题 极有可能是某个类,在同一个包下面有重名类了。 参考: https://blog.csdn.net/weixin_41425956/article/deta 阅读全文

posted @ 2022-04-01 15:40 frank_cui 阅读(247) 评论(0) 推荐(0) 编辑

Git - 修改name/author信息
摘要:问题描述 remote: GL-HOOK-ERR:ERROR: author:“019124”, 格式非法, 应当是你的工号,以K/S/0开头. remote: GL-HOOK-ERR:ERROR: 请重新设置[user]下的name值. 解决方案 1.查看个人用户目录下.gitconfig中的na 阅读全文

posted @ 2021-12-22 13:27 frank_cui 阅读(1384) 评论(1) 推荐(1) 编辑

Git - 如何撤销上一次commit操作
摘要:第一种情况:还没有push,只是在本地commit 1.语法说明 git reset [--soft | --mixed | --hard] [HEAD] --mixed 为默认,可以不用带该参数,用于重置暂存区的文件与上一次的提交(commit)保持一致,工作区文件内容保持不变 git reset 阅读全文

posted @ 2021-12-22 13:19 frank_cui 阅读(8862) 评论(0) 推荐(0) 编辑

Spring - Neither GenericXmlContextLoader nor AnnotationConfigContextLoader was able to detect defaults
摘要: 阅读全文

posted @ 2021-12-02 16:19 frank_cui 阅读(353) 评论(0) 推荐(0) 编辑

Spring - The matching wildcard is strict, but no declaration can be found for element
摘要: 阅读全文

posted @ 2021-12-02 16:18 frank_cui 阅读(105) 评论(0) 推荐(0) 编辑

Spring - Could not resolve placeholder "..." in value "..."
摘要: 阅读全文

posted @ 2021-12-02 16:14 frank_cui 阅读(83) 评论(0) 推荐(0) 编辑

SonarCube - Missing blame information for the following files
摘要: 阅读全文

posted @ 2021-12-02 16:11 frank_cui 阅读(641) 评论(0) 推荐(0) 编辑

SonarCube - sonar.profile was set to 'xxxx' but didn't match any profile for any language
摘要: 阅读全文

posted @ 2021-12-02 16:10 frank_cui 阅读(61) 评论(0) 推荐(0) 编辑

SonarCube - Code Coverage sector disappear
摘要: 阅读全文

posted @ 2021-12-02 16:10 frank_cui 阅读(14) 评论(0) 推荐(0) 编辑

1 2 3 4 5 下一页
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

levels of contents
点击右上角即可分享
微信分享提示