
编程遇到的麻烦事
摸鱼菜腿子
这个作者很懒,什么都没留下…
展开
-
SpringBoot 之在application.yml文件中com.mysql.jdbc.Driver报错
在application.yml文件中无法加载com.mysql.jdbc.Driver驱动 解决方法: 删除 <scope>test</scope> 2.添加相应依赖版本号原创 2019-07-31 22:26:44 · 1386 阅读 · 0 评论 -
Docker之如何查看Linux的IP地址
终端输入ifconfig -a原创 2019-08-01 10:36:25 · 1920 阅读 · 0 评论 -
控制一直在输出Exiting. No pending tasks.
程序完美运行,但是最后控制台却一直在输出Exiting. No pending tasks. 原因:log4j中开启了debug,重新换了一份配置文件就没有报错了 修改后的log4j.properties # ##设置日志级别 # log4j.rootLogger=info,debug,CONSOLE,file log4j.rootLogger=debug,CONSOLE,file ...原创 2019-08-05 21:08:26 · 1476 阅读 · 0 评论 -
SpringBoot自定义使用starter时测试starter时报Field helloService in com.example.demo.controller.HelloController
解决方法:发现META-INF拼写错误,改正后重新install后测试成功原创 2019-08-01 21:28:15 · 8840 阅读 · 2 评论 -
关于使用Jedis中遇到的一些问题解决方法
1.出现“java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)”问题。 解决方法:发现是在“druid.properties”中password不正确引起,改为正确密码解决。 2.出现“java.sql.SQLException: validateConnection fals...原创 2019-07-01 22:26:47 · 469 阅读 · 0 评论 -
docker中mysql中文乱码问题
https://www.jianshu.com/p/e87714d84d13转载 2019-08-07 09:59:06 · 696 阅读 · 0 评论