java日期转换报错:
org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type `java.util.Date`
上面只是一部分。
解决办法:
在bo中,字段前面增加注解:
@J...
扩展临时表空间,不能用datafile,只能用tempfile
错误语句:
ALTER TABLESPACE backup_temp ADD datafile '/data/oradata/backup/backup_temp02.dbf' size 150m autoextend on next 50m MAXSIZE unlimited;
正确语句:
ALTER TAB...
报错内容:
The unit files have no installation config (WantedBy=, RequiredBy=, Also=, Alias= settings in the [Install] section, and DefaultInstance= for template units). This means they are not meant t...
原网页地址:
How To Limit Rate of Connections (Requests) in NGINX (tecmint.com)
The following configuration example shows limiting the rate of request to a web application API. The shared memory size is ...
仅是简单记录,不代表这样是正确的。
错误的方法,使用StringUtils.isEmpty判断,会报空指针
if (StringUtils.isEmpty(entity.getVersionCode().toString())){
entity.setVersionCode(1L);
}
正确的方法:
if (ObjectUtil.isNull(en...