随笔分类 - error
摘要:kafka消费消息的时候,报错No converter found capable of converting from type [java.lang.String] to type [org. apache.kafka.clients.consumer.ConsumerRecord<? ?>,
阅读全文
HV000030: No validator could be found for constraint ‘javax.validation.constraints.Pattern‘ validati
摘要:原文链接:https://blog.csdn.net/miachen520/article/details/119817478 错误原因:数字类型不能使用javax.validation.constraints.Pattern注解解决办法方法一:.将字段类型设置为String类型;方法二:使用其他验
阅读全文
摘要:问题如下Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSource': Unsatisfied dependency ex
阅读全文
摘要:原文链接:https://www.cnblogs.com/daemonFlY/p/9820541.html1. 在使用mysql时,控制台日志报错如下: Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver
阅读全文
摘要:JavaWeb应用在MySQL环境下可以正常运行,数据迁移至Oracle或者人大金仓后应用运行爆出如下错误: 严重: Servlet.service() for servlet [JeeCmsAdmin] in context with path [/dhccms] threw exception
阅读全文
摘要:原文链接: https://www.cnblogs.com/javawxid/p/10949511.html 问题原因: Mybatis没有找到合适的加载类,其实是大部分spring - datasource - url没有加载成功,分析原因如下所示. DataSourceAutoConfigura
阅读全文
摘要:一、报错内容java.lang.IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method at org.apache.
阅读全文
摘要:原因是 版本冲突。以下我原本使用的版本信息<!-- Spring Boot Redis 依赖 --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis<
阅读全文
摘要:Maven install时报:idea -source 1.5 中不支持 diamond 运算符 1:idea设置JDK版本: 2:在父pom设置jdk版本 <profiles> <profile> <id>jdk-1.8</id> <activation> <activeByDefault>tr
阅读全文
摘要:ToStringSerializerBase报错报错内容整合dubbo时报错 Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ser/std/ToStringSerializerBase at com
阅读全文
摘要:使用命令行连接远程Mysql数据库时报错: ERROR 2026 (HY000): SSL connection error: error:0A000102:SSL routines::unsupported protocol 解决方法 使用--ssl-mode=DISABLED参数即可 mysql
阅读全文
摘要:java: 程序包com.sun.org.slf4j.internal不存在事件之由来问题之分析处理之方案收工事件之由来拉完别人的项目后,启动不了了,报错提示: java: 程序包com.sun.org.slf4j.internal不存在1问题之分析就是别人用lombok了同时使用slf4j和lom
阅读全文
摘要:原文链接:https://blog.csdn.net/m0_53967669/article/details/127283289 在使用银河麒麟系统时会时不时的安装程序,yum命令是最方便快捷的命令,但是在使用的过程中出现了Failed to download metadata for repo '
阅读全文
摘要:原文链接:https://blog.csdn.net/zhanghaoninhao/article/details/129180810 问题:java:找不到符号 符号:变量:log环境:springboot idea解决方法:在idea中,点击file-Settings,打开配置页面,如图红框位置
阅读全文
摘要:原文链接:http://t.zoukankan.com/ios9-p-15709870.html nginx: [error] CreateFile() “D:\nginx-1.20.1/logs/nginx.pid“ failed (2: The system cannot find the 下载
阅读全文
摘要:原文链接:https://blog.csdn.net/weixin_43048843/article/details/109200673 对接第三方厂商需求时,需要对数据AES256进行解密,由于java本身不支持,需要添加依赖。 一、版本适配1. 版本对应关系JDK版本 bcprov-jdk版本j
阅读全文
摘要:原文链接: https://www.cnblogs.com/yangkangIT/p/16016279.html 背景 新项目为了推进多环境(test,pre,prd)部署,在测试环境测试通过之后部署预发环境的时候,服务一直报错,提示【io.lettuce.core.RedisCommandExec
阅读全文
摘要:原文链接: https://blog.51cto.com/u_15127677/4302520?b=totalstatistic 1、在系统搜索框中 输入 Windos PowerShell 2、点击“管理员身份运行” 3、输入“ set-ExecutionPolicy RemoteSigned”回
阅读全文
摘要:原文链接: https://www.cnblogs.com/shiyun32/p/15918613.html 问题:在本地开发时使用的是oracle jdk8,没有问题,但是生产上面使用的是openjdk-8u252-b09,生成图片时一直报Invalid argument to native wr
阅读全文
摘要:原文链接:https://www.jianshu.com/p/0a00d17ad9bb bug全名:Could not set parameters for mapping: ParameterMapping{property='content', mode=IN, javaType=class j
阅读全文