自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 【登录服务器经常自动断开怎么回事】

1.检查服务器的配置文件是否设置自动断开时间 export TMOUT参数。如果有建议延长时间或者删除该配置。如果冲突建议更换一个ip。2.检查ip是否冲突。

2023-11-13 16:36:26 121

原创 telnet ip 端口 Unable to connect to remote host: Connection refused

建议将应用的配置文件中的端口号改为此服务器的ip而非127.0.0.1。netstat -anp |grep 端口号。若显示:127.0.0.1:端口号。

2023-11-13 16:24:33 597

原创 使用Nginx实现公网访问Redis 4.0/5.0的单机/主备/Proxy集群实例

Ecs购买&Redis实例购买一.安装Nginx购买ECS后,需要在ECS上安装Nginx,本文以ECS操作系统为Centos7.x为例进行安装,不同操作系统命令稍有不同。执行以下命令,添加Nginx到yum源。sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm添加完之后,执行以下命令,查看是否已经添加成功。yum search n

2022-03-09 15:26:23 1076

原创 华为云服务

华为云服务1.华为云服务:基于公有云X86部署系统(X86架构)2.华为云鲲鹏云服务:基于公有云鲲鹏云服务部署系统(arm架构)3.华为云stack8.0(HCS):基于混合云X86部署(HCS还是私有云产品,只是和公有云服务体验类似、应用类似、可以和公有云互通,部署在客户数据中心,自己运维)4.华为云stack8.0(鲲鹏):基于混合云鲲鹏部署系统(HCS还是私有云产品,只是和公有云服务体验类似、应用类似、可以和公有云互通,部署在客户数据中心,自己运维)5.华为云Stack Online

2021-10-28 14:09:30 2954

原创 2020-10-30

Cannot find a valid baseurl for repo: base/7/aarch64解决方案vi /etc/resolv.conf添加nameserver 114.114.114.114后保存退出

2020-10-30 11:23:30 151

原创 error 2002: Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘ (2)

FATAL: unable to connect to MySQL server on host 'localhost', port 3333, aborting...FATAL: error 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)FATAL: `prepare' function failed: /usr/share/sysbench/tests/include/o

2020-10-27 09:59:54 360

原创 mybatis操作查询数据正常,但增删改数据库无变化的问题处理

因为数据库中表-设计表-选项-引擎选择的是innodb支持事务,所以代码insert,delete,update后要提交事务mapper.update(product);sqlSession.commit();如果引擎默认选择的是MyISAM是不支持事务的,所以不提交事务,数据库也会改变...

2020-07-08 20:38:47 809

原创 com.alibaba.fastjson.JSONException: exepct[, but error, pos 1, json : redis调用失败

com.alibaba.fastjson.JSONException: exepct '[', but error, pos 1, json : redis调用失败 我的原因是redis服务没有启动cmd 运行redis和它的配置文件

2020-06-26 23:38:25 2116

原创 You have an error in your SQL syntax check the manual that corresponds to your MySQL server versio

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near null,10at line 5 at sun.reflect.NativeConstruct...

2020-05-22 22:31:19 523

原创 java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for wf.sour

java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for wf.source.crm.mapper.找不到这个映射器 可能是编译出问题, idea中,delete target文件夹 然后 选中项目 右键 rebuild module重新编译一下...

2020-05-21 14:38:40 276

原创 Cause: org.apache.ibatis.executor.ExecutorException:

A query was run and no Result Maps were found for the Mapped Statement 'cn.itsource.hello.mapper.ProductMapper.selectForList'. It's likely that neither a Result Type nor a Result Map was specified.原因是ProductMapper.xml中的selectForList方法里没有写resultMap...

2020-05-13 22:47:19 433

原创 Direct self-reference leading to cycle

HTTP Status 500 - Could not write content: Direct self-reference leading to cycle (through reference chain: java.util.ArrayList[6]->cn.itsource.domain.Producttype["parent"]); nested exception is co...

2020-05-03 23:29:09 12291 5

原创 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'department0_.username' in

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Unknowncolumn'department0_.username'in'fieldlist'异常原因 部门表中没有username这个字段 看下部门类中的字段 是否是username,如果是就改成name与页面字段匹配...

2020-04-22 19:15:28 299

原创 java.lang.IllegalArgumentException: Not an managed type: class java.lang.Object

java.lang.IllegalArgumentException: Not an managed type: class java.lang.Object由于IBaseRepository接口中不能确定泛型的类型,所以它就默认使用Object来代替那个泛型T解决方案IBaseRepository接口中添加@NoRepositoryBean...

2020-04-21 23:54:48 403

原创 Ambiguous mapping. Cannot map 'employeeController' method

Ambiguous mapping. Cannot map 'employeeController' method错误原因:controller层的方法名重复 解决办法 删除一个

2020-04-20 21:56:30 824

原创 NoUniqueBeanDefinitionException: No qualifying bean of type available

@Transactional(readOnly = true)public class BaseServiceImpl<T> implements IBaseService<T> { @Autowired private IBaseDao<T> baseDao;//一定要加泛型 不然会报标题错误 @Override @Tra...

2020-04-20 17:07:34 447

原创 The following has evaluated to null or missing:遇到的异常处理

严重: Error executing FreeMarker templateFreeMarker template error:The following has evaluated to null or missing:==> title [in template “hello.ftl” at line 5, column 26]public class FreeMarkTes...

2020-03-31 14:05:31 1033

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除