
日常bug
Jin_YD
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
GitLab: The project you were looking for could not be found. fatal: 无法读取远程仓库。 请确认您有正确的访问权限并且仓库存在。
报错背景使用前人申请的服务器,拉取代码,gitlab报错:GitLab: The project you were looking for could not be found.fatal: 无法读取远程仓库。请确认您有正确的访问权限并且仓库存在。解决办法先检查电脑是否生成过秘钥cd ~/.ssh若打开该文件夹为空,则表示没有生成过秘钥,如果有文件,将文件全部删除,然后重新生成秘钥。生成秘钥ssh-keygen -t rsa -C "Title" //Title可以随便取原创 2021-05-19 17:14:10 · 13854 阅读 · 0 评论 -
maven打包失败:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default
maven打包失败报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project bumblebee: There are test failures.报错不要慌,根据提示test failures。解决办法:在pom.xml文件中引入依赖:<plugin> <groupId>org.apache.mave原创 2021-05-13 16:41:31 · 1252 阅读 · 0 评论 -
JAVA报错:LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.
背景搞了好长时间,到网上找到了一摸一样的报错信息,但是都不管用,顺便总结一下,填坑。项目技术:springboot,dubbo,zookeeper日志信息SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/C:/Users/zhanggong004/.m2/repository/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25原创 2021-05-08 10:31:34 · 1209 阅读 · 0 评论 -
解决报错:java.sql.SQLException: Value ‘0000-00-00 00:00:00‘ can not be represented as java.sql.Timestamp
解决方法:在数据库的连接配置文件druid.properties中加入zeroDateTimeBehavior=convertToNull,加入前:url=jdbc:mysql://localhost:3306/e?加入后:url=jdbc:mysql://localhost:3306/e?zeroDateTimeBehavior=convertToNull简单有效,完美解决...原创 2020-11-14 22:25:52 · 125 阅读 · 0 评论