我拆过的坑cycx

查询一下!

nodejs 安装express最简洁的方法 三步

vscode常用快捷键,不断添加!

springboot使用CommonsMultipartResolver上传报错java.lang.ClassCastException

往数据库中提插入数据是提示报错信息 Data truncation: Out of range value for column 'cid' at row 1

最近遇到一个问题开发中遇到一个问题,往数据库中提插入数据是提示报错信息

Data truncation: Out of range value for column ‘XXXX’ at row 1

这个意思是说该字段存入的值超出了这个字段范围,原来是因为我们数据库中设置该字段的值类型是int(10)来存储时间戳。


而插入的数据出现了一条长度是10,但是时间是 “expired_date”:2235312000的数据,导致插入失败。

Java对象为空时,不显示该对象属性,或者将null转换为""

作者:admin | 分类:未分类 | 浏览:152 | 评论:0

pymysql基本用法

import pymysql


user = input('username:')

pwd  = input('password:')


conn = pymysql.connect(host='localhost',user='root',password='',database='db1')

浏览器出现:A server error occurred. Please contact the administrator.

解决方法: 到python manager.py runerver 后的页面看错误信息,哪个地方出现错误了,这里是可以显示的 1.常出现错误是redis没有启动,重启linux后会自动关闭的情况



微信小程序 TypeError: _typeof2 is not a function

function _typeof2(o) {

  "@babel/helpers - typeof";

  return (_typeof2 = "function" == typeof Symbol 

spring data jpa方法命名规则

关键字 方法命名 sql where字句 And findByNameAndPwd where name= ? and pwd =? Or findByNameOrSex where name= ? or sex=? Is,Equals findById,findByIdEquals where id= ? Between findByIdBetween where id between ? and ? LessThan findByIdLessThan where id < ? L

解决idea手动设置maven后无效,还是自动回到.m2路径下的问题

作者:admin | 分类:未分类 | 浏览:133 | 评论:0

xml配置文件http://mybatis.org/dtd/mybatis-3-mapper.dtd 报红

作者:admin | 分类:未分类 | 浏览:237 | 评论:0

java: 错误:无效的源发行版:14

IDEA:java: 错误:无效的源发行版:14

在Java项目运行中出现下列报错


导致这个原因出现是因为当前项目的JDK版本与电脑配置的JDK环境版本不一样导致的


1.首先使用win + r打开cmd命令窗口,输入java -version查看当前JDK的版本


2.修改当前项目的JDK版本


选择File -> Project S

zookeeper 链接不上可,./skServer.sh restart 重启或者尝试修改timeout时间

方案一      ./skServer.sh restart 


或者方案二

?timeout=600000

<< < 1 2 3 4 5 6 7 8 9 10 > >>

Powered By Z-BlogPHP 1.7.3

Copyright Your WebSite.Some Rights Reserved.