- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 springboot通过设置addResourceHandlers拦截请求访问本地资源踩坑实战
通过继承WebMvcConfigurationSupport(springboot2.x后用此类) 类后重写addResourceHandlers@Overrideprotected void addResourceHandlers(ResourceHandlerRegistry registry) { String os = System.getProperty("os.name...
2019-05-10 11:41:29
48316
16
原创 SpringCloud ribbon调用服务报错 Request URI does not contain a valid hostname: http://euraka_server_user/
问题描述:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Request URI does not contain a valid hostname: http://euraka_...
2019-03-12 11:43:36
536
转载 java基础
转载自:https://blog.youkuaiyun.com/xyzopq100/article/details/50683899写代码:1,明确需求。我要做什么?2,分析思路。我要怎么做?1,2,3。3,确定步骤。每一个思路部分用到哪些语句,方法,和对象。4,代码实现。用具体的java语言代码把思路体现出来。 学习新技术的四点:1,该技术是什么?2,该技术有什么特点(使用注意):3,该技术怎么使用。dem...
2018-06-14 16:24:24
149
转载 spring通过kaptcha配置验证码生成的代码实例
1.在pom.xml中添加maven依赖:<dependency> <groupId>com.google.code.kaptcha</groupId> <artifactId>kaptcha</artifactId> <version>2.3</version> <classifier&am
2018-05-21 19:39:20
332
sigar-amd64-winnt.dll sigar-x86-winnt.dll sigar-x86-winnt.lib 获取本机信息
2018-05-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人