01 2020 档案
ssh报错No operations allowed after connection closed.Connection was implicitly clos
摘要:### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection close
阅读全文
More than one fragment with the name [spring_web] was found. This is not legal with relative orderin
摘要:最近在搭建一个spring mvc 项目时遇到“More than one fragment with the name [spring_web] was found. This is not legal ...”报错,详细的日志信息如下:……五月 08, 2019 11:49:52 下午 org.
阅读全文
python3如何遍历json数据
摘要:json和pandas配合下 import json import pandas as pd js=''' { "message":"abc","result":{ "paramtypeitems":[ {"name":"基本参数","paramitems":[ {"id":567,"name":"
阅读全文
解决pandas中打印DataFrame行列显示不全的问题
摘要:在使用pandas的DataFrame打印时,如果表太长或者太宽会自动只给前后一些行列,但有时候因为一些需要,可能想看到所有的行列。 所以只需要加一下的代码就行了。 #显示所有列 pd.set_option('display.max_columns', None)#显示所有行pd.set_optio
阅读全文
设置tomcat访问http时自动跳转到https
摘要:tomcat8conf/server.xml中原属于80端口的http修改为(tomcat默认是8080端口) <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="443" />之后在con
阅读全文
阿里云服务器CentOS6.9 tomcat配置https安全访问
摘要:第一步、SSL证书获取 获取SSL证书方式很多种,包括网页生成、工具生成等,这里我使用阿里云平台获取免费ssl证书的方法,优缺点如下: 优点:安全、快捷、适合学习使用。 缺点:有效期1年 1、登录阿里云后台管理页面,搜索“SSL证书”,在SSL证书页面点击“购买证书”,如果你用其他工具生成,则将已经
阅读全文
Windows下安装Redis服务
摘要:Redis是有名的NoSql数据库,一般Linux都会默认支持。但在Windows环境中,可能需要手动安装设置才能有效使用。这里就简单介绍一下Windows下Redis服务的安装方法,希望能够帮到你。 1、要安装Redis,首先要获取安装包。Windows的Redis安装包需要到以下GitHub链接
阅读全文