常见错误
文章平均质量分 55
haochenfeishi
这个作者很懒,什么都没留下…
展开
-
2021-09-29
求问这样写的区别是啥for (Map.Entry<String, List<Map<String, String>>> stringListEntry : mutiResult.entrySet()) {List<Map<String, String>> value = stringListEntry.getValue();System.out.println(JSON.toJSONString(value));}List<Map原创 2021-09-29 21:09:58 · 272 阅读 · 0 评论 -
对于使用JDBC连接mysql数据时The server time zone value ‘¤¤°ê¼Ð·Ç®É¶¡‘...的异常问题解决。
java.sql.SQLException: The server time zone value ‘¤¤°ê¼Ð·Ç®É¶¡’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone valu转载 2020-11-09 15:22:36 · 346 阅读 · 0 评论 -
问题解决13:elasticsearch启动的时候报错,报日志文件没有权限解决方案
https://blog.csdn.net/leeue/article/details/88530601转载 2020-11-09 14:29:21 · 1176 阅读 · 0 评论 -
MongoDB 3.6版本中bind_ip设置详解
参考:https://www.jb51.net/article/152023.htm原文链接:http://www.cnblogs.com/xuliuzai/p/10041096.html转载 2020-11-01 20:53:04 · 2602 阅读 · 0 评论 -
Error creating bean with name ‘poolconfig‘ defined in class path resource [applicationContext-jedis.
Error creating bean with name ‘poolconfig’ defined in class path resource [applicationContext-jedis.xml]:报的错误:D:\JAVA1\jDK1.8\bin\java.exe “-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2020.2.3\lib\idea_rt.jar=55707:C:\Program Files\JetBrains\Inte原创 2020-10-30 14:03:47 · 1482 阅读 · 0 评论 -
创建Zookeeper伪集群启动失败
创建Zookeeper伪集群启动失败????报的错误2020-10-20 11:09:35,169 [myid:] - ERROR [main:QuorumPeerMain@98] - Invalid config, exiting abnormallyorg.apache.zookeeper.server.quorum.QuorumPeerConfigConfigException:Addressunresolved:192.168.84.128:3881atorg.apache.zookeeper原创 2020-10-20 11:30:00 · 2065 阅读 · 3 评论 -
解决Spring Boot测试方法Failed to load ApplicationContext问题
解决Spring Boot测试方法Failed to load ApplicationContext问题**java.lang.IllegalStateException: Failed to load ApplicationContextCaused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘jdbcController’: Unsatisfi原创 2020-10-15 16:22:08 · 1541 阅读 · 0 评论 -
Spring Boot中找不到org.springframework.boot.SpringApplication程序包
Spring Boot中找不到org.springframework.boot.SpringApplication程序包没有爆红:直接上菜File>>setings>>Maven>>Runner这样就解决了原创 2020-10-13 18:21:02 · 8053 阅读 · 6 评论 -
在配置pom.xml依赖坐标无缘无故爆红
在配置pom.xml依赖坐标无缘无故爆红在Idea中打开File>>setings>>Maven然后在右边打开Maven然后就可以!原创 2020-10-08 18:18:02 · 506 阅读 · 1 评论 -
## intellij maven工程报错 inspects a maven model for resolution problems 解决方法
intellij maven工程报错 inspects a maven model for resolution problems 解决方法添加链接描述转载 2020-10-01 14:33:22 · 466 阅读 · 0 评论 -
关于java.lang.NoClassDefFoundError处理(could not initialize class jdbc.properties)
此文章是对JDBC工具类时出现的问题NoClassDefFoundError与ClassNotFoundException区别NoClassDefFoundError是发生在JVM在动态运行时,找不到你提供的类,就会出现此情况.ClassNotFoundException是在编译的时候找不到提供的类static{ //读取properties文件 ResourceBundle bundle=ResourceBundle.getBundle("com.xxn/jdbc"原创 2020-08-17 16:06:53 · 903 阅读 · 0 评论 -
在idea中出现java.lang.ClassNotFoundException
一、java.lang.ClassNotFoundException常见的场景就是:1 调用class的forName方法时,找不到指定的类2 ClassLoader 中的 findSystemClass() 方法时,找不到指定的类3 ClassLoader 中的 loadClass() 方法时,找不到指定的类package serve;import servlet.Servlet;import java.util.List;import java.util.Map;/**原创 2020-08-10 08:04:47 · 3443 阅读 · 0 评论