05 2022 档案

摘要:web项目发布后的结构目录 下面的这个classes文件夹就是我们要找的classpath. 阅读全文
posted @ 2022-05-30 17:57 瑞莫蒂 阅读(20) 评论(0) 推荐(0) 编辑
摘要:在SpringBoot配置Swagger时,出现报错 org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested ex 阅读全文
posted @ 2022-05-24 11:18 瑞莫蒂 阅读(51) 评论(0) 推荐(0) 编辑
摘要:报错信息: 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 瑞莫蒂 阅读(119) 评论(0) 推荐(0) 编辑
摘要:这个报错信息在Spring与mybaits整合的配置文件中定义,出现这个错误的原因是xml文件没有配置好: 1.mappper.xml文件没有与对应mapper接口关联 2.Spring与mybaits整合的配置文件中没有配置正确的xml文件 阅读全文
posted @ 2022-05-21 09:52 瑞莫蒂 阅读(203) 评论(0) 推荐(0) 编辑
摘要:Java8新增了default方法,可以在不影响接口的实现类的前提下为接口添加新的功能特性。 通过在接口定义的方法的访问修饰符前加上default,那么接口的实现类就可以不用实现该方法。 例如:WebMvcConfigurer 它的方法全是defult方法,所以它的实现类无需实现这些方法。 阅读全文
posted @ 2022-05-18 20:11 瑞莫蒂 阅读(508) 评论(0) 推荐(0) 编辑
摘要:欢迎来到我的友链小屋 展示本站所有友情站点,排列不分先后,均匀打乱算法随机渲染的喔! 友链信息 博客名称:frankLiang442博客网址:https://www.cnblogs.com/frankLiang442/博客头像:https://pic.cnblogs.com/avatar/28798 阅读全文
posted @ 2022-05-17 18:49 瑞莫蒂 阅读(15) 评论(0) 推荐(0) 编辑
摘要:#classpath 在Spring中,classpath就相当于src/main/resources文件夹 #file 在spring Boot中用file:开头表示存放在电脑上的实际位置 阅读全文
posted @ 2022-05-17 10:48 瑞莫蒂 阅读(58) 评论(0) 推荐(0) 编辑

more_horiz
keyboard_arrow_up light_mode palette
选择主题
点击右上角即可分享
微信分享提示