码迷,mamicode.com
首页 >  
搜索关键字:Spring Security    ( 50397个结果)
spring DI依赖注入
1、官网 https://docs.spring.io/spring/docs/5.2.7.RELEASE/spring-framework-reference/core.html#beans-dependencies 2、构造器注入(前面有) 3、Set方式注入(重点) A、依赖 : bean对象 ...
分类:编程语言   时间:2020-07-18 22:25:29    阅读次数:84
Apollo使用报错: Cause: [status code: 404].......
在使用spring项目接入携程 apollo 的时候,报了一个错误:Cause: [status code: 404] Could not find config for namespace - appId: housing102, cluster: default, namespace: appl ...
分类:其他好文   时间:2020-07-18 22:06:51    阅读次数:150
spring person
IOC: 由spring 进行创建、管理、配置 官网:https://docs.spring.io/spring/docs/5.2.7.RELEASE/spring-framework-reference/core.html#beans-child-bean-definitions 一个简单的例子 ...
分类:编程语言   时间:2020-07-18 22:02:37    阅读次数:72
Spring后端跨域请求设置
前后端项目分离,跨域请求时,后端的两种配置方式: 1.配置类: package com.helq3.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annot ...
分类:编程语言   时间:2020-07-18 21:52:43    阅读次数:86
掌握Redis分布式锁的正确姿势
本文中案例都会在上传到git上,请放心浏览 git地址:https://github.com/muxiaonong/Spring-Cloud/tree/master/order-lock 本文会使用到 三台 redis 独立服务器,可以自行提前搭建好 前言 在Java中,我们对于锁会比较熟悉,常用的 ...
分类:其他好文   时间:2020-07-18 15:49:42    阅读次数:60
codewars--kyu8-The falling speed of petals
这个题目计算花瓣落下的速度。距离一定送一个速度计算落下的时间。 如果速度送的是小于等于0 ,就返回0 . 1 def sakura_fall(v): 2 if v<=0 : 3 return 0 4 return 5*80/v 5 # your code here When it's spring ...
分类:其他好文   时间:2020-07-18 15:37:24    阅读次数:58
SpringBoot+SpringCloud+vue+Element开发项目——数据备份还原
一、新建工程 新建jansens-backup工程,这是一个独立运行于admin的服务模块,可以分开独立部署 二、添加依赖 在pom.xml文件中添加web、swagger、common依赖包。 <dependencies> <!-- spring boot --> <dependency> <gr ...
分类:编程语言   时间:2020-07-18 15:28:55    阅读次数:110
mybatis写mapper文件注意事项
参考:https://www.iteye.com/blog/wksandy-1443133 特殊符号如何直接显示? 1、xml中某些特殊符号作为内容信息时需要做转义,否则会对文件的合法性和使用造成影响 &lt; < &gt; > &amp; & &apos; ' &quot; " 2、在mapper ...
分类:移动开发   时间:2020-07-18 11:38:30    阅读次数:122
IDEA命令行缩短器助你解决此问题:Command line is too long. Shorten command line...
生命太短暂,不要去做一些根本没有人想要的东西。本文已被 https://www.yourbatman.cn 收录,里面一并有Spring技术栈、MyBatis、JVM、中间件等小而美的专栏供以免费学习。关注公众号【BAT的乌托邦】逐个击破,深入掌握,拒绝浅尝辄止。 前言 各位小伙伴大家好,我是A哥。 ...
分类:其他好文   时间:2020-07-18 11:24:12    阅读次数:254
spring cloud中微服务调用出现 Can not parse date while it seems to fit format 'yyyy-MM-dd'T'HH:mm:ss.SSS问题
spring.jackson.timeZone=GMT+08:00spring.jackson.date-format=yyyy-MM-dd HH:mm:ssspring.jackson.serialization.write_dates_as_timestamps=falsespring.mvc. ...
分类:编程语言   时间:2020-07-17 22:14:24    阅读次数:381
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!