码迷,mamicode.com
首页 >  
搜索关键字:.configure    ( 6481个结果
hadoop系列之一问题锦集
1、启动过程中出现Configuration has multiple addresses that match local node's address. Please configure the system with dfs.nameservice.id and dfs.ha.namenode ...
分类:其他好文   时间:2021-07-16 17:32:09    阅读次数:0
常用工具类——跨域配置类
@Configuration public class CorsConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMappin ...
分类:其他好文   时间:2021-07-07 17:54:53    阅读次数:0
SpringBoot项目打包与部署
springboot的war想要在tomcat服务器上运行,必须添加配置。 1.继承并重写 让启动类继承SpringBootServletInitializer,并重写configure方法,关键代码如下 @SpringBootApplication public class UploadDemoA ...
分类:编程语言   时间:2021-07-05 18:54:20    阅读次数:0
S3cmd详解
S3cmd(s3cmd)是免费的命令行工具和客户端,用于在Amazon S3和其他使用S3协议的云存储服务提供商(例如Google Cloud Storage或DreamHost DreamObjects)中上载,检索和管理数据。最适合熟悉命令行程序的高级用户。它也是批处理脚本和自动备份到S3(由c ...
分类:其他好文   时间:2021-07-02 16:24:40    阅读次数:0
GSON的扯淡之处
GSON默认是开启html编码的, 方法注释是这么写的: By default, Gson escapes HTML characters such as < > etc. Use this option to configure Gson to pass-through HTML characte ...
分类:其他好文   时间:2021-07-02 16:09:53    阅读次数:0
springboot之jackson的两种配置方式
转自:https://www.cnblogs.com/liaojie970/p/9396334.html springboot 针对jackson是自动化配置的,如果需要修改,有两种方式: 方式一:通过application.yml 配置属性说明:## spring.jackson.date-for ...
分类:编程语言   时间:2021-06-30 17:38:36    阅读次数:0
Spring Boot 学习(一)@RequestAttribute @MatrixVariable @UrlPathHelper
@GetMapping("/send") public String getmessage(HttpServletRequest request) { request.setAttribute("msg","跳转"); //设置参数 request.setAttribute("code",123); ...
分类:编程语言   时间:2021-06-29 16:08:05    阅读次数:0
spring-security安全框架-注意事项——1
##Spring Security注意事项 权限优先级: 在SecurityConfig中configure(HttpSecurity http)方法中,如下代码 http.authorizeRequests() .antMatchers("/admin/**").hasRole("admin") ...
分类:编程语言   时间:2021-06-28 20:23:02    阅读次数:0
Redis常用配置解析
默认情况下,Redis的配置文件存放在redis主目录下,文件名为redis.conf,通过此文件,可窥探一二 1、绑定IP—bind 默认为本机:127.0.0.1,配置如下: # Examples: # # bind 192.168.1.100 10.0.0.1 # listens on two ...
分类:其他好文   时间:2021-06-25 16:51:17    阅读次数:0
SpringBoot Starter
Spring Boot 对比 Spring MVC 最大的优点就是使用简单,约定大于配置。不会像之前用 Spring MVC 的时候,时不时被 xml 配置文件搞的晕头转向,冷不防还因为 xml 配置上的一点疏忽,导致整个项目莫名其妙的不可用,顿感生活无所依恋,简称生无可恋。 这要归功于组成了 Sp ...
分类:编程语言   时间:2021-06-24 17:53:58    阅读次数:0
6481条   1 2 3 4 ... 649 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!