logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

解决IDEA警告:The file size exceeds configured limit (5.12MB). Code insight features are not available.

介绍了IDEA警告:"The file size exceeds configured limit (5.12MB). Code insight features are not available." 的产生原因和处理方法

#intellij idea
解决阿里云服务器25端口发送邮件失败【最简单的方法】

代码在本地发送邮件测试正常,部署到阿里云ECS服务器后无法通过25端口发送。有类似如下的报错信息:Mail server connection failed;nested exception is javax.mail.MessagingException:Could not connect to SMTP host: smtp.xxxx.com, port: xxx, response...

#阿里云#java#linux
解决MyBatisPlus报错:Failed to process, please exclude the tableName or statementId

报错详情:Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, please exclude the tableName or statementId. Error SQL: xxxxxxxx报错原因:使用了自定义SQL,可能

#mybatis
禁用MacOS系统自带输入法最简单的方法

最简单的方法达到“禁用”MacOS系统自带输入法的效果。

#macos
解决LocalDateTime传值JSON格式化问题

LocalDateTime是JDK8中提供的新功能,极大的优化了原生日期时间类的使用。但是第一次使用该类可能会在传值过程中出现格式化的小问题(如:JSON无法解析前端所传格式,序列化时LocalDateTime成为数组等),以下提供简单的解决方案。

#java
Docker配置镜像源

介绍Linux、MacOS、Windows下Docker配置镜像源的方法。

#docker
Mybatis报错:org.apache.ibatis.builder.IncompleteElementException: Could not find result map

报错详情:Error querying database. Cause: org.apache.ibatis.builder.IncompleteElementException: Could not find result map...数据库查询出错,抛出IncompleteElementException异常,原因:找不着result map报错原因:Mybatis的Mapper.xm...

#mybatis#java
MyBatisPlus报错:Column 'xxx' specified twice

报错详情:java.sql.SQLSyntaxErrorException: Column 'xxx' specified twice示例:...BeanUtils.copyProperties(bo, po);// 此处故意画蛇添足一个租户idpo.setTenatId = 1000;if (dutyMapper.insert(po) == 0) {throw new InvalidSqlOpe

IDEA提示:Boolean method ‘xxx‘ is always inverted

提示详情:一个返回类型为布尔值的方法,被IDEA自动高亮,提示为 Boolean method 'xxx' is always inverted。并提供一个Invert method的解决方案。提示原因:IDEA进行语句了简洁性检查,因为在调用此方法时均对结果进行取非(! boolean)。所以建议你干脆修改方法,让方法输出一个取非值,并改一下方法名。/*** 示例:一个人没钱的话,就...

#intellij idea#java
Docker与虚拟机的区别和对比

在软件开发方面,由于Docker相比于虚拟机有着诸多的明显的优势,所以仅仅数年时间,就完成了从诞生,到兴起,再到主流的蜕变,这无疑也是对其在软件开发中卓越贡献的肯定。以下为二者区别的概述:1. 操作系统方面与虚拟机不同,Docker不需要在宿主机的系统之上再运行新的系统,虚拟机会根据需要加载不同的系统,这些功能完备的系统大小往往高达数个GB,而Docker则是微型的Linux系统,其没有硬件...

    共 11 条
  • 1
  • 2
  • 请选择