![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA
JAVA基础
一只在路上奔跑的蜗牛
一只在互联网路上奔跑的蜗牛
展开
-
Centos7部署前后端
1、后端项目打包jar 1)mvn clearn 2)mvn package 3)shell脚本运行项目 chmod u+x start.sh 文件授权 ./start.sh start 启动 ./start.sh stop 停止 #保证该脚本能被chkconfig识别 #!/bin/sh # chkconfig: 2345 85 15 # description:auto_run #程序名 RUN_NAME="SpringBlade.jar" #jar 位置 #JAVA_OPTS=...原创 2020-08-06 16:24:47 · 374 阅读 · 0 评论 -
springBoot解决Redis序列化问题
1、新建一个Redis配置类,解决key和value序列化问题 @Component @EnableRedisHttpSession(maxInactiveIntervalInSeconds = 3600) public class RedisConfig { @Bean public RedisTemplate redisTemplate(RedisConnectionFactory redisConnectionFactory){ RedisTemplate.原创 2020-08-06 16:20:49 · 714 阅读 · 0 评论