会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
瑞莫蒂的博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2022年5月24日
[Solved] Swagger Startup Error: Failed to start bean ‘documentationPluginsBootstrapper‘
摘要: 在SpringBoot配置Swagger时,出现报错 org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested ex
阅读全文
posted @ 2022-05-24 11:18 瑞莫蒂
阅读(64)
评论(0)
推荐(0)
2022年5月23日
查找不到Mapper
摘要: 报错信息: Field userMapper in com.frank.service.UserServiceImpl required a bean of type 'com.frank.mapper.UserMapper' that could not be found.Field userMa
阅读全文
posted @ 2022-05-23 19:06 瑞莫蒂
阅读(131)
评论(0)
推荐(0)
2022年5月21日
Spring Boot报错:Error creating bean with name 'sqlSessionFactory' ...
摘要: 这个报错信息在Spring与mybaits整合的配置文件中定义,出现这个错误的原因是xml文件没有配置好: 1.mappper.xml文件没有与对应mapper接口关联 2.Spring与mybaits整合的配置文件中没有配置正确的xml文件
阅读全文
posted @ 2022-05-21 09:52 瑞莫蒂
阅读(269)
评论(0)
推荐(0)
2022年5月18日
Java的default方法
摘要: Java8新增了default方法,可以在不影响接口的实现类的前提下为接口添加新的功能特性。 通过在接口定义的方法的访问修饰符前加上default,那么接口的实现类就可以不用实现该方法。 例如:WebMvcConfigurer 它的方法全是defult方法,所以它的实现类无需实现这些方法。
阅读全文
posted @ 2022-05-18 20:11 瑞莫蒂
阅读(526)
评论(0)
推荐(0)
2022年5月17日
SpringBoot的路径相关问题
摘要: #classpath 在Spring中,classpath就相当于src/main/resources文件夹 #file 在spring Boot中用file:开头表示存放在电脑上的实际位置
阅读全文
posted @ 2022-05-17 10:48 瑞莫蒂
阅读(71)
评论(0)
推荐(0)
上一页
1
2
公告