一、什么是消息队列MQ(MessageQuene):翻译为消息队列,通过典型的?产者和消费者模型,?产者不断向消息队列中?产消息,消费者不断的从队列中获取消息。因为消息的?产和消费都是异步的,?且只关?消息的发送和接收,没有业务逻辑的侵?,轻松的实现系统间解耦。别名为消息中间件通过利??效可靠的消息传递机制进?平台?关的数据交流,并基于数据通信来进?分布式系统的集成。二、为什么要使用MQ1.解耦现
分类:
其他好文 时间:
2020-05-22 19:14:52
阅读次数:
54
情境: 项目中使用到第三方商家封装的jar包,将这个jar上传到本公司的maven私服中,方便项目组使用。 有两种方式可以上传: 方法一:直接进入maven私服,依照以下步骤找到上传jar的位置: 点击左侧 Repositories 选择 3rd party 点击Artifact Upload。 G ...
分类:
编程语言 时间:
2020-05-22 16:52:08
阅读次数:
76
1 maven archetype quickstart 1.1 IDEA中的前期准备 1.2 自动构建后 ↓pom.xml↓ 2 maven archetype webapp 2.1 IDEA中的前期准备 2.2 自动构建后 ↓pom.xml↓ ...
分类:
移动开发 时间:
2020-05-22 09:53:01
阅读次数:
71
首先说明一下,这里使用的是Springboot2.2.6.RELEASE版本,由于Springboot迭代很快,所以要注意版本问题。 1、SpringData Redis是属于SpringData下的一个模块。作用就是简化对于redis的操作。SpringData JPA为了简化对数据库的操作。修改 ...
分类:
编程语言 时间:
2020-05-19 23:07:02
阅读次数:
86
依赖文件 <!-- https://mvnrepository.com/artifact/org.apache.ant/ant --> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <versi ...
分类:
编程语言 时间:
2020-05-19 20:18:27
阅读次数:
59
SpringBoot 报错org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType 原因:缺少 spring boot starter jdbc ...
分类:
数据库 时间:
2020-05-19 18:27:29
阅读次数:
63
1.pom.xml: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency> 2.打开settings 设置 3. 4. ...
分类:
编程语言 时间:
2020-05-16 20:36:49
阅读次数:
69
IDEA提示:failed to resolve org.junit.platform,如下图 方法一:修改Maven镜像 D:\Program Files\apache-maven-3.6.3-pc\conf 添加配置信息 <mirror> <id>alimaven</id> <name>aliy ...
分类:
其他好文 时间:
2020-05-16 19:12:15
阅读次数:
85
1.pom.xml springboot-2.3.0的 spring-boot-starter-web启动器好像不包含 spring-boot-starter-validation启动器,需要自己添加 <dependency> <groupId>org.springframework.boot</g ...
分类:
编程语言 时间:
2020-05-16 18:57:31
阅读次数:
89
报错信息: Could not transfer artifact org.mybatis.spring.boot:mybatis-spring-boot-starter:pom:2.1.2 from/to alimaven (http://maven.aliyun.com/nexus/conten ...
分类:
其他好文 时间:
2020-05-15 09:15:52
阅读次数:
93