![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
风终将离去
这个作者很懒,什么都没留下…
展开
-
Docker登录mysql报错,关于mysql.sock
一、Docker进入MySQL后台输入的命令如果是常规的话:mysql -u root -p是一直报这个错,并且你找不到mysql.sock文件所以再怎么重启,再如何修改/etc/my.cnf都没有用。你要知道,自己是在docker跑的mysql,所以你在宿主机上,休想启动它!(不通过docker)你只要输入:docker exec -it mysql bash就能够进入到下一步:mysql -u root -p输入密码,进入期待已久的数据库后台。...原创 2020-06-11 09:32:06 · 1423 阅读 · 2 评论 -
取消、限制、防止、不要Java首字母大写自动转小写,Jackson序列化默认小写问题解决
Cannot deserialize instance of `` out of START_ARRAY token原创 2020-05-28 15:14:34 · 2028 阅读 · 0 评论 -
相互注入死循环
***************************APPLICATION FAILED TO START***************************Description:The dependencies of some of the beans in the application context form a cycle: testController defined in file [E:\xxx\TestController.class]┌─────┐| b...原创 2020-05-14 18:24:22 · 1300 阅读 · 0 评论 -
未找到对应的方法解决记录
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2020-05-14 16:13:06.359 [restartedMain] ERROR org.springframework.boot.SpringApplication - Application run failedorg.springframework.beans.f.原创 2020-05-14 16:31:14 · 4549 阅读 · 0 评论 -
Correct the classpath of your application so that it contains a single, compatible version of xxx
***************************APPLICATION FAILED TO START***************************Description:An attempt was made to call a method that does not exist. The attempt was made from the following location: feign.form.spring.SpringFormEncoder.<ini...原创 2020-05-14 15:55:40 · 2129 阅读 · 1 评论 -
Field xxx in com.xxx required a bean of type 'com.xxx' that could not be found
***************************APPLICATION FAILED TO START***************************Description:Field xxxField in com.yyl.lyy.xxxService required a bean of type 'com.yyl.lyy.xxxMessage' that could not be found.Action:Consider defining a bean of t..原创 2020-05-14 15:27:20 · 928 阅读 · 0 评论 -
Mybatis查询系列问题分析:入参无法获取、小于号不能使用、List查询使用、多个类查询字段混淆
查询语句中使用了“<”,小于号在xml中识别不出来,使用“<”来替代就好了。原创 2020-05-13 17:14:49 · 1046 阅读 · 0 评论 -
IDEA编译项目提示程序包不存在、符号错误,最终幻想
尝试过了:改编码格式为UTF-8; 重启IDEA:Invalidate Caches/Restart; 删除依赖包,直接导入jar包; 指定source root:Mark Directory as——>Sources Root; 切换maven仓库的setting.xml文件目录地址,即修改repository的位置; maven build、maven clean、mave...原创 2020-04-02 10:11:04 · 858 阅读 · 0 评论 -
使用Swagger调试,如何输入日期格式问题
报错如下:Failed to convert value of type 'java.lang.String' to required type 'java.util.Date'; nested exception is org.springframework.core.convert.ConversionFailedException: Failed to convert from typ...原创 2020-03-23 10:50:51 · 3850 阅读 · 0 评论 -
Unsatisfied dependency expressed through field 'feignXxService'解决记录
第一章 Unsatisfied dependency expressed through field 'feignXxService'初始代码:ModelMap<Something> getSomething(String testA, String testB);报错信息:Error creating bean with name 'xxServiceImpl'...原创 2020-03-16 11:49:23 · 9526 阅读 · 0 评论 -
SpringBoot中的MySQL+Mybatis设置
SpringBoot的数据库工具选用MySQL+Mybatisapplication.properties中的相关配置:#数据库连接设置spring.datasource.url=jdbc:mysql://localhost/whatspring.datasource.data-username=rootspring.datasource.data-password=roots...原创 2019-05-17 09:34:03 · 138 阅读 · 0 评论 -
解决SpringBoot启动报错:LoggingFailureAnalysisReporter
我的解决方式是:@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)即在@SpringBootApplication后,加上(exclude = DataSourceAutoConfiguration.class)。我也还是SpringBoot新手,还不知道其中的奥妙,看了别人的方法用了可行,就记一下吧...原创 2019-05-16 17:01:42 · 12159 阅读 · 1 评论