摘要: 1.nginx安装 ​ linux版本:CentOS7 64位 ​ 【yum 安装最新版nginx:https://www.cnblogs.com/xxoome/p/7256214.html】 ​ 在安装nginx前首先要确认系统中安装了gcc、pcre-devel、zlib-devel、opens 阅读全文
posted @ 2022-05-11 09:38 逐星i 阅读(52) 评论(0) 推荐(0) 编辑
摘要: MYSQL创建子账号以及权限设置 一.连接Mysql(我用的工具是Xshell6) 命令: mysql -uroot -p 二.创建子账号 创建一个用户名为test,密码为123456的子账号。 命令: CREATE USER 'test'@'localhost' IDENTIFIED BY '12 阅读全文
posted @ 2022-05-11 09:34 逐星i 阅读(352) 评论(0) 推荐(0) 编辑
摘要: list.sort((o1, o2) -> Float.compare(o2.getScore(), o1.getScore())); 阅读全文
posted @ 2022-05-11 09:29 逐星i 阅读(145) 评论(0) 推荐(0) 编辑
摘要: @PostMapping(value = "hi") public String postHi(@RequestHeader HttpHeaders headers, HttpServletRequest request) { return request.getHeader("Content-Le 阅读全文
posted @ 2022-05-11 09:26 逐星i 阅读(4140) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/weixin_44259720/article/details/109216423 问题描述: 搭建SpringCloud 架构,配置者服务,启动该服务时候报出标题中的错误,导致程序启动失败。 完整的错误信息如下: Field restTempl 阅读全文
posted @ 2022-02-25 09:20 逐星i 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: 重启 指令 /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 1.nginx安装 ​linux版本:CentOS7 64位​【yum 安装最新版nginx:https://www.cnblogs.com/xxoome/p/ 阅读全文
posted @ 2022-02-25 09:13 逐星i 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.问题 使用es6 语法在ie10出错 2.解决 <!-- 兼容ie浏览器转换es6 --><script src="https://cdn.bootcss.com/babel-polyfill/6.23.0/polyfill.min.js"></script><script src="//cdn 阅读全文
posted @ 2020-12-16 15:08 逐星i 阅读(383) 评论(1) 推荐(0) 编辑
摘要: //手动添加事务 DataSourceTransactionManager transactionManager = (DataSourceTransactionManager) ApplicationContext.getBean("transactionManager"); DefaultTra 阅读全文
posted @ 2020-12-02 10:21 逐星i 阅读(340) 评论(0) 推荐(0) 编辑
摘要: public class MapSortedDemo { public static void main(String[] args) { Map map = new HashMap<>(); map.put(1, "22"); map.put(2, "able"); map.put(3, "dis 阅读全文
posted @ 2020-12-02 10:18 逐星i 阅读(453) 评论(0) 推荐(0) 编辑
摘要: sqlserver死锁问题 1.问题 com.microsoft.sqlserver.jdbc.SQLServerException: INSERT 语句与 FOREIGN KEY 约束"FK_ern_ent1"冲突。该冲突发生于数据库"wiz7.x_LN",表"dbo.Entity", colum 阅读全文
posted @ 2020-08-27 16:43 逐星i 阅读(874) 评论(0) 推荐(0) 编辑