
后台
长沙小辣椒
写得一手好bug
展开
-
初学kafka遇到的bug:Topic(s) [test] is/are not present and missingTopicsFatal is true
Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is java.lang.IllegalStateException: Topic(s) [test] is/are not present and .原创 2020-05-17 21:49:45 · 5522 阅读 · 0 评论 -
Mybatis传入多个参数报错(组合查询)----解决方法
一、问题引入:1、我在实现 姓名,年龄段的组合查询功能【报错】Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘n...原创 2019-02-21 13:41:16 · 2194 阅读 · 0 评论 -
永远分不清为什么FileInputStream要嵌套InputStreamReader还要嵌套BufferedReader
1、目的:读取该路径下的log.txt文件 C:\Users\Lyndee\Desktop2、实现File f = new File("C:\\Users\\Lyndee\\Desktop\\log.txt"); InputStreamReader isr = new InputStreamReader(new FileInputStream(f)); Buf...原创 2019-03-26 10:16:46 · 709 阅读 · 2 评论 -
java.sql.SQLException: Access denied for user ''@'localhost' (using password: YES)
错误:java.sql.SQLException: Access denied for user ‘’@‘localhost’ (using password: YES)This application has no explicit mapping for /error, so you are seeing this as a fallback.问题出现:在用springboot连接了数...原创 2019-05-06 20:09:18 · 9317 阅读 · 6 评论