上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 找到产生冲突的依赖,通过exclusion标签将其移除 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-oauth2-resource-server</artifactI 阅读全文
posted @ 2021-05-30 22:54 复一日 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 授权服务器目标接口 @RequestMapping( value = {"/oauth/token"}, method = {RequestMethod.POST} ) public ResponseEntity<OAuth2AccessToken> postAccessToken(Principa 阅读全文
posted @ 2021-05-30 18:15 复一日 阅读(862) 评论(0) 推荐(0) 编辑
摘要: cloud 进行服务间调用时通常需要添加token作为请求头,下面是我自己的解决方案 @Autowired OauthClient oauthClient; /** * 通过服务名调用 */ private static final String OAUTH_URL = "http://sclp-o 阅读全文
posted @ 2021-05-29 20:27 复一日 阅读(2121) 评论(0) 推荐(0) 编辑
摘要: 无法扫描到接口实现,'com.sclp.mapper.GenTableMapper' that could not be found. Description: Field genTableService in com.sclp.controller.GenController required a 阅读全文
posted @ 2021-05-21 15:56 复一日 阅读(1464) 评论(0) 推荐(0) 编辑
摘要: 一、servlet 容器 通过WebApplicationContextUtils获取 //request必须通过servlet的web请求获取 WebApplicationContext webApp = WebApplicationContextUtils.getWebApplicationCo 阅读全文
posted @ 2021-04-13 11:20 复一日 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 一、标记-清除算法 首先标记出算有需要回收的对象,标记结束后统一回收所有被标记的对象或者未被标记的对象;标记的过程就是判断对象是否属于垃圾的过程,使用引用计数法或可达性分析法 缺点 收集效率不稳定,java堆中包含大量的对象,其中大部分需要被回收,大量的标记、清除动作导致执行效率低 清除产生碎片空间 阅读全文
posted @ 2021-03-30 10:42 复一日 阅读(47) 评论(0) 推荐(0) 编辑
摘要: https://www.oracle.com/java/technologies/javase/vmoptions-jsp.html 阅读全文
posted @ 2021-03-29 11:20 复一日 阅读(29) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/a704397849/article/details/100124180 阅读全文
posted @ 2021-03-02 17:19 复一日 阅读(595) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/mingc/p/7580992.html 阅读全文
posted @ 2021-02-26 17:21 复一日 阅读(223) 评论(0) 推荐(0) 编辑
摘要: #常用系统命令 echo [字符串|$变量] #屏幕输出字符串或提取变量 date [选项][+指定格式] #查看当前时间或设置系统时间 reboot #重启 poweroff #关闭 wget #下载 #系统状态管理命令 ps [参数] #查看进程状态 top #监控进程活动和负载状态 pidof 阅读全文
posted @ 2021-02-23 14:52 复一日 阅读(54) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页