logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Linux使用tar命令解压压缩文件报错tar: Exiting with failure status due to previous errors

报错内容tar -zxvf aaa.txt.gztar: This does not look like a tar archivetar: Skipping to next headertar: Exiting with failure status due to previous errors排查过程查看文件属性file aaa.txt.gz2022032900.Change.txt.gz:

#linux
SpringBoot中使用Kafka报错:Failed to construct kafka consumer

报错内容在SpringBoot项目中使用了Kafka,在启动的过程中报错2022-02-26 11:44:10.422 ERROR 26148 --- [main] o.s.boot.SpringApplication: Application run failedorg.springframework.context.ApplicationContextException: Failed to

#kafka#spring boot#java
SpringBoot中使用Kafka报错Error creating bean with name ‘kafkaTemplate‘ defined in class path resource

报错内容Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2022-03-01 21:10:40.729 ERROR 27988 --- [main] o.s.boot.SpringApplication: Applicat

#intellij-idea#scala#java
java.sql.SQLException: No suitable driver found for jdbc:hive://localhost:10000/default

问题使用Java代码连接Hive,报错java.sql.SQLException: No suitable driver found for jdbc:hive://192.168.100.111:10000/hiveat java.sql.DriverManager.getConnection(DriverManager.java:689)at java.sql.DriverManager.ge

#hive#java#sql
Java读取MySQL数据,读取不到第一条数据,并且之后的数据隔一条读一条

现象这是之前遇到的问题,就是Java读取MySQL数据,读取不到第一条数据,并且之后的数据隔一条读一条原因因为rs.next()执行了两次,所以报错,因为当时测试的时候,先测试的取一条数据,写了个rs.next,没有问题之后,就遍历数据库数据,执行while(rs.next()),然后下面的rs.next()忘了注释,就出现这个问题。解决方案在循环中注释掉下面的rs.next()就好了。...

#intellij-idea#java#mysql
Java代码读取MySQL数据,遇到‘0000-00-00’报错Value ‘0000-00-00‘ can not be represented as java.sql.Date

报错再使用Java代码读取MySQL数据的时候,读取date格式的数据,然后使用DateTimeFormatter格式化的时候突然在控制台发现了报错,Value ‘0000-00-00’ can not be represented as java.sql.Date,找到对应的数据,发现该条数据在MySQL中的值为‘0000-00-00’原因‘0000-00-00’在mysql中是作为一个特殊值存

#ui#intellij-idea
Linux使用tar命令解压压缩文件报错tar: Exiting with failure status due to previous errors

报错内容tar -zxvf aaa.txt.gztar: This does not look like a tar archivetar: Skipping to next headertar: Exiting with failure status due to previous errors排查过程查看文件属性file aaa.txt.gz2022032900.Change.txt.gz:

#linux
HBase查看日志报错 msg=拒绝连接 row ‘‘ on table ‘hbase:meta‘ at region=hbase:meta,,1.1588230740, hostname=xxx

今天在hbase shell中执行一些语句时发现特别卡顿,然后查看了一下日志,发现报错:2021-11-30 14:15:58,777 INFO[htable-pool17-t1] client.RpcRetryingCaller: Call exception, tries=11, retries=350, started=48510 ms ago, cancelled=false, msg=拒

#linux#hbase#big data
Error: Assignments can only be reset if the group ‘group‘ is inactive, but the current state is Stab

原因:因为有消费者正在消费,没有关闭,把消费者关闭之后,重新移动指定分区的偏移量就好了.kafka将指定主题的指定分区的偏移量向前移动n(10)个消息的时候报错。

#kafka#分布式
SpringBoot中使用Kafka报错Error creating bean with name ‘kafkaTemplate‘ defined in class path resource

报错内容Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2022-03-01 21:10:40.729 ERROR 27988 --- [main] o.s.boot.SpringApplication: Applicat

#intellij-idea#scala#java
暂无文章信息