09 2020 档案

摘要:RabbitMQ是用Erlang语言开发的,因此在安装之前需要先安装Erlang语言运行环境。 1.安装Erlang 安装方式有很多种,但最简单的是用rpm方式安装,Erlang的rpm目录地址为: https://github.com/rabbitmq/erlang-rpm/releases/ 本 阅读全文
posted @ 2020-09-25 21:38 Shapley 阅读(156) 评论(0) 推荐(0) 编辑
摘要:1.安装dotnet sdk 命令如下: rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm yum install dotnet-sdk-3.1 安装完成后,通过命令:dotnet 阅读全文
posted @ 2020-09-25 16:03 Shapley 阅读(408) 评论(0) 推荐(0) 编辑
摘要:近来,想为项目进行一些技术验证,需要建立一个新的mini spring mvc项目,方便调试,因此将建立新的spring mvc的过程记录下来,方便以后使用、备查。 建立过程: 1.在idea环境中,选File-New-Project,然后选择Maven,然后在右侧勾选Create from arc 阅读全文
posted @ 2020-09-20 19:26 Shapley 阅读(173) 评论(0) 推荐(0) 编辑
摘要:1.POI引用: <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.15</version> </dependency> <dependency> <groupId 阅读全文
posted @ 2020-09-17 14:28 Shapley 阅读(4535) 评论(1) 推荐(0) 编辑
摘要:1.采用一个Service和多个Connector方式,这种方式使同一个应用对应多个端口。 2.采用多个Service方式,这种方式对应多个应用对应多个端口方式。如下所示: <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apa 阅读全文
posted @ 2020-09-15 15:04 Shapley 阅读(504) 评论(0) 推荐(0) 编辑
摘要:1.准备证书 本示例用的证书为***.JKS,将文件拷贝到tomcat的conf文件夹下备用。 2.修改配置文件,打开server.xml,将Connector部分注释掉,新增代码如下: <Connector port="7772" protocol="HTTP/1.1" SSLEnabled="t 阅读全文
posted @ 2020-09-11 15:55 Shapley 阅读(443) 评论(0) 推荐(0) 编辑
摘要:在Java开发过程中可以使用各种http工具类调用微信接口,由于springCloud已经成为主流,其自带FeignClient类已经很优雅地实现了各种http调用方式,因此在springCloud中可以优先使用这个类调用微信接口。 所需材料: 1.实体定义: @Entity public clas 阅读全文
posted @ 2020-09-09 11:57 Shapley 阅读(1143) 评论(0) 推荐(0) 编辑
摘要:1.SDK安装 首先在机器上安装groovy-sdk,本人下载的版本为:3.0.4。下载后,解压到一个指定文件夹备用。 添加一个系统环境变量:GROOVY_HOME,如下: GROOVY_HOME=D:\software\groovy-3.0.4 然后添加系统变量Path:%GROOVY_HOME% 阅读全文
posted @ 2020-09-01 14:58 Shapley 阅读(7513) 评论(0) 推荐(1) 编辑