BUG总结
楼兰剑客
这个作者很懒,什么都没留下…
展开
-
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"
pom.xml文件加入依赖即可<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-nop</artifactId> <version>1.7.2</version></dependency>...原创 2019-02-27 23:51:27 · 135 阅读 · 0 评论 -
SLF4J: The requested version 1.5.6 by your slf4j binding is not compatible with [1.6, 1.7]
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api --><dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.2原创 2019-02-28 21:14:58 · 10128 阅读 · 4 评论 -
maven中resources目录下文件找不到
当前类名.class.getClassLoader().getResourceAsStream("web.xml");不能用当前类名.class.getResourceAsStream("web.xml");原创 2019-03-01 21:44:58 · 1037 阅读 · 0 评论 -
maven pom文件报错:Multiple annotations found at this line 解决方案
每次都遇到这个问题,烦死了,研究了半天,解决方案如下:第一种最简单的方案:1、右键项目–>maven—>更新项目---->勾上Force Update of Snapchat/Releases如果不行就试试第二种:2、将本地maven仓库全删了...原创 2019-03-04 18:06:50 · 2789 阅读 · 0 评论 -
[localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory报错,Tomcat启动失败
https://blog.csdn.net/qq_39403545/article/details/83903883转载 2019-03-22 23:15:28 · 1749 阅读 · 0 评论 -
fastDFS:error 9
storage_ip_changed_dealer.c, line: 186, connect to tracker server 192.168.52.129:22122 fail, errno: 111, error info: Connection refused在虚拟机上装fastDFS,网络模式选择桥接模式原创 2019-05-12 16:44:12 · 752 阅读 · 0 评论 -
multiple definition of `main'
hello.cpp:(.text+0x0): multiple definition of `main’/tmp/cc1cVxpW.o:main.cpp:(.text+0x0): first defined here collect2:error: ld returned 1 exit statusc++编译时经常看到该错误。是因为main中已经包含了该头文件,然后编译又将该头文件包含...原创 2019-09-06 13:22:21 · 35051 阅读 · 2 评论