自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 SpringcloudConfig从GIt仓库拉取内容指定本地缓存路径不保存到临时文件的方法

spring: application: name: public-config cloud: config: server: git: uri: username: * password: * basedir: C:/work/config/tmp #指定缓存路径 force-pull: true #是否强制拉取关键参数:basedi...

2022-04-02 22:48:48 922

原创 关于在实验SpringConfig启动客户端的简单使用时踩的坑

报错1:DEBUG org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - Application failed to start due to an exceptionERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter -原因:Spring Cloud 新版本默认将 Bootstrap 禁用,需要将 spring-c

2022-04-02 22:22:52 2537

原创 启动Eureka时遇到的错误

Cannot Create new Replica Node :JerseyReplicationClient: http://localhost:8761/eureka/apps/: Caused by: java.lang.ClassNotFoundException: com.sun.jersey.client.apache4.config.DefaultApacheHttpClient4ConfigCannot Create new Replica Nodejava.lang.ClassNo

2022-03-31 00:34:49 980

原创 初学Mybatis进行Juint测试时常见的几种错误

1.org.apache.ibatis.binding.BindingException: Type interface com.hda.dao.UserDao is not known to the MapperRegistry.原因:mapper配置未注册解决在Mybatis-config.xml加入配置如:<mappers> <mapper resource="com/hda/dao/UserMapper.xml"/></mappers>

2022-03-07 12:21:20 117

原创 学习Mybatis时写实体时遇见的控制台只能输出地址问题

返回值变成了实体类的地址,原因是没有在实体类里面写toString方法

2022-03-07 11:26:15 394 2

原创 Tomcat运行springmvcdemo时出现的错误,以及解决方法

javax.servlet.ServletException:java.lang.NoSuchMethodException:org.glassfish.tyrus.server.TyrusServerConfiguration.()

2021-11-23 00:00:45 455

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除