摘要: centos必须安装jdk、maven、git安装jenkins在http://pkg.jenkins-ci.org/redhat-stable/找jenkins的rpm复制资源地址下载 wget http://pkg.jenkins-ci.org/redhat-stable/jenkins-2.204.2-1.1.noarch.rpm安装 rpm -ivh jenkins-2.204.2-1.1... 阅读全文
posted @ 2020-02-13 21:52 默闻120 阅读(742) 评论(0) 推荐(0) 编辑
摘要: 在https://mirrors.edge.kernel.org/pub/software/scm/git/中找自己需要的版本gz包,复制资源链接地址 下载 wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.25.0.ta 阅读全文
posted @ 2020-02-13 15:54 默闻120 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 下载mavenwget http://mirror.bit.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz资源路径自己填,用wget下载即可(自己上传也行)解压文件包解压 tar -zxf apache-maven-3.6.3-bin.tar.gz 更改文件夹名 mv apache-maven... 阅读全文
posted @ 2020-02-13 15:24 默闻120 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 我使用springboot+jsp做的简单测试官方电脑网站支付文档https://docs.open.alipay.com/270首先加入支付宝接口的依赖、配置文件和工具类 com.alipay.sdk alipay-sdk-java 4.9.13.ALL添加请求时要用的参数配置文件alipay.properties#应用ID,您的APPID,收款账号既是您的APPID对应支付宝... 阅读全文
posted @ 2020-02-13 15:03 默闻120 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: 去除内嵌tomcat和添加jsp依赖 去除内嵌tomcat 在springboot启动依赖中去除内嵌tomcat org.springframework.boot spring-boot-starter-web ... 阅读全文
posted @ 2020-02-12 21:05 默闻120 阅读(5740) 评论(0) 推荐(1) 编辑
摘要: 一、添加依赖 <!-- 邮件整合 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 二、添加mail 阅读全文
posted @ 2019-12-09 20:37 默闻120 阅读(1620) 评论(0) 推荐(0) 编辑
摘要: 1、找到第一个spring boot启动器,排除logging.jar包,让slf4j使用其他的log org.springframework.boot spring-boot-starter-logging 2、添加Log4j2依赖 org.springframework.boot spring-boot-starter-log4j23、添加log4j2.xml FATAL > ER... 阅读全文
posted @ 2019-12-04 19:35 默闻120 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 在使用之前,请确认项目已经整合了Redis一、加入依赖 org.springframework.session spring-session-data-redis 二、加入注解在加了@SpringBootApplication注解的类加上以下注解@EnableRedisHttpSession没了。。。。至于版本在阿里云仓库搜索就行 阅读全文
posted @ 2019-11-29 16:27 默闻120 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: 一、加入依赖 com.github.spt-oss spring-boot-starter-data-redis 2.0.7.0 redis依赖二、添加redis.properties配置文件# REDIS (RedisProperties)# Redis数据库索引(默认为0)spring.redis.database=0# Redis服务器地址spring.redis.host... 阅读全文
posted @ 2019-11-28 20:56 默闻120 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 记录干货。。。 一、下载、解压 在centos下载依赖库: yum install gcc-c++ yum install -y pcre pcre-devel yum install -y zlib zlib-devel yum install -y openssl openssl-devel 在 阅读全文
posted @ 2019-11-26 17:20 默闻120 阅读(1976) 评论(0) 推荐(0) 编辑