摘要: 一、添加依赖 <!-- WebSocket配置开始--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-websocket</artifactId> <version>4.3.25.RELEASE</ve 阅读全文
posted @ 2020-07-27 15:38 羊想云彩 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 一、安装Node.js 1.Node.js下载地址: https://nodejs.org/en/download/ 最新的Node.js自带npm所以这里不再下载npm了。 下载完成后,双击打开程序,按提示一路next安装,有一个页面可能有点不一样, 选择第三个第四个都行。 2.安装完毕后我们查看 阅读全文
posted @ 2020-07-21 14:57 羊想云彩 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 一、下载与安装 官网下载地址: https://www.rabbitmq.com/download.html 我们这里使用的是Centos版本,由于RabbitMQ是erlang语言开发对,所以我们还需要下载erlang的依赖。 如果您不想去官网下载且使用的是Centos7系统,那么可以选择我的下载 阅读全文
posted @ 2020-06-16 19:58 羊想云彩 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 一、导入核心jar包 <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId> </dependency> <dependency> <grou 阅读全文
posted @ 2020-06-16 18:40 羊想云彩 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 大家在做项目时是不是经常要实现验证码这个功能呢?那么今天为大家介绍下SSM项目中如何结合JSP页面实现验证码的功能。具体的步骤如下: 一、生成验证码的工具类 package com.blb.utils; import javax.imageio.ImageIO; import java.awt.*; 阅读全文
posted @ 2020-06-16 18:23 羊想云彩 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 一、导入相关依赖:pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema 阅读全文
posted @ 2020-06-11 19:13 羊想云彩 阅读(239) 评论(0) 推荐(0) 编辑
摘要: package com.blb.app; import com.blb.realm.CustomerRealm; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.IncorrectCredentialsExce 阅读全文
posted @ 2020-06-09 21:12 羊想云彩 阅读(168) 评论(0) 推荐(0) 编辑
摘要: package com.blb.service.impl; import ch.qos.logback.core.joran.conditional.ElseAction; import com.blb.dao.GzDataRepository; import com.blb.domain.GzDa 阅读全文
posted @ 2020-04-29 17:17 羊想云彩 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 记不住ssm配置文件的我默默的备份了一下,方便以后快速搭建框架: 1.pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:/ 阅读全文
posted @ 2020-04-29 14:52 羊想云彩 阅读(984) 评论(0) 推荐(0) 编辑
摘要: 记录一下Elasticsearch结合Springboot项目的配置文件,免得忘记了又要采坑 一、application.yml spring: data: elasticsearch: cluster-name: my-application cluster-nodes: 127.0.0.1:93 阅读全文
posted @ 2020-04-29 14:34 羊想云彩 阅读(7836) 评论(0) 推荐(1) 编辑