码迷,mamicode.com
首页 >  
搜索关键字:configuration    ( 5921个结果)
Spring Boot 集成 websocket(广播式)
书上配置WebSocket的方法在springboot2.x已经过时 在1.x版本中写法如下: @Configuration@EnableWebSocketMessageBroker//1public class WebSocketConfig extends AbstractWebSocketMe ...
分类:编程语言   时间:2019-08-16 11:53:27    阅读次数:61
maven build 插件
<plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <finalName>${project. ...
分类:其他好文   时间:2019-08-16 00:55:40    阅读次数:86
mongodb 3.2 yaml 配置详解及范例
mongodb3.x版本后就是要yaml语法格式的配置文件,下面是yaml配置文件格式如下:官方yaml配置文件选项参考:https://docs.mongodb.org/manual/ ... #configuration-file只能使用空格,不支持tab键,切记 shard 的配置文件范例 s ...
分类:数据库   时间:2019-08-15 14:43:13    阅读次数:324
##很多时候,我们新建一个Maven工程,第一步都是添加依赖,可是其中的scope代表了什么呢?
maven工程中scope详解: Maven的一个哲学是惯例优于配置(Convention Over Configuration), Maven默认的依赖配置项中,scope的默认值是compile,项目中经常傻傻的分不清,直接默认了。 一,scope的分类 ~1,compile 默认就是compi ...
分类:其他好文   时间:2019-08-15 12:48:14    阅读次数:84
SpringBoot整合SSM三大框架源码剖析之SpringBoot源码剖析
Spring Boot源码剖析 一.Spring Boot 项目的启动入口流程分析 Spring Boot项目的启动入口main线程上有一个@SpringBootApplication( @Configuration + @EnableAutoConfiguration + @ComponentSc ...
分类:编程语言   时间:2019-08-14 23:28:26    阅读次数:141
xml文件时第一行无缘无故报错
错误信息: Referenced file contains errors (http://www.puppycrawl.com/dtds/configuration_1_3.dtd). For more information, right click on the message in the。 ...
分类:其他好文   时间:2019-08-14 12:47:14    阅读次数:321
Zookeeper到底是干嘛的
Zookeeper到底是干嘛的 Zookeeper到底是干嘛的 在Zookeeper的官网上有这么一句话:ZooKeeper is a centralized service for maintaining configuration information, naming, providing d ...
分类:其他好文   时间:2019-08-14 12:45:41    阅读次数:56
jar中没有主清单属性【解决办法】
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</ ...
分类:编程语言   时间:2019-08-13 15:21:10    阅读次数:310
k8s nginx ingress配置TLS
在没有配置任何nginx下,k8s的nginx默认只支持TLS1.2,不支持TLS1.0和TLS1.1 默认的 nginx-config(部分可能叫 nginx-configuration)的配置如下: 看了下官方的文档,如果需要支持TLS1.0和TLS1.1需要改下 nginx-config 同时 ...
分类:其他好文   时间:2019-08-13 13:53:31    阅读次数:554
RabbitMQ使用——基于SpringBoot
一、简单示例: 1)创建一个spring boot项目: 2)配置application.yml 3)创建列队配置: 4)消费者: 5)生产者: 6)测试: 二、路由模式: 1)路由/列队配置: @Configuration public class RabbitMQConfiguration { ...
分类:编程语言   时间:2019-08-13 00:18:37    阅读次数:110
共5921条   上一页 1 ... 85 86 87 88 89 ... 593 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!