会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
事有回响
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2020年8月21日
Serializable序列化
摘要: 参考文档:https://baijiahao.baidu.com/s?id=1633305649182361563&wfr=spider&for=pc
阅读全文
posted @ 2020-08-21 14:50 事有回响
阅读(75)
评论(0)
推荐(0)
2020年8月20日
Duplicate entry '1' for key 'PRIMARY'
摘要: 错误的意思是:重复输入“1”键为“主” 进入数据库中,查询表tbl_student的时候,发现三条记录,其中一条主键为1。考虑到我进行测试的时候,数据库中默认主键是为1 。所以将数据库中主键为1的这条记录删除。然后测试就通过了。 博客原文:https://www.cnblogs.com/dondmi
阅读全文
posted @ 2020-08-20 09:51 事有回响
阅读(3465)
评论(0)
推荐(0)
2020年8月19日
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1字节的 UTF-8 序列的字节 1 无效
摘要: maven 项目运行时出控制台报错:com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1字节的 UTF-8 序列的字节 1 无效 该错误是由一些配置文件引起的:如applicationContext.
阅读全文
posted @ 2020-08-19 11:12 事有回响
阅读(2717)
评论(0)
推荐(1)
2020年8月18日
Maven 阿里云镜像仓库配置
摘要: 全局配置: 在 maven 的 conf 目录下的 settings.xml 中 <mirrors> 标签添加 <mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name
阅读全文
posted @ 2020-08-18 17:37 事有回响
阅读(246)
评论(0)
推荐(0)
java连接mysql失败:Path does not chain with any of the trust anchors
摘要: 测试运行时报错:Path does not chain with any of the trust anchors 在配置文件:mybatis-config.xml 中把 jdbc 连接配置 useSSL=true 改为 false 即可正常运行 参考文档:https://blog.csdn.net
阅读全文
posted @ 2020-08-18 17:26 事有回响
阅读(2091)
评论(0)
推荐(1)
2020年8月13日
IDEA部署项目到tomcat时artifact中没有项目
摘要: 第一步:File菜单,选择 Project Structure 第二步:在 Modules 中选中需要添加的项目 右键 Add 选为 web 第三步:在Artifacts 下,点击+ 选中:Web Application:Exploded-->>From Modules 第四步:选择 tomcat
阅读全文
posted @ 2020-08-13 10:30 事有回响
阅读(1119)
评论(0)
推荐(0)
2020年8月12日
使用ehcache 自定义缓存
摘要: ehcache 导包 <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</
阅读全文
posted @ 2020-08-12 17:38 事有回响
阅读(292)
评论(0)
推荐(0)
2020年8月11日
在使用Mybatis进行测试时出现报错:Caused by: java.lang.ClassNotFoundException: Cannot find class: Student
摘要: 在使用Mybatis进行测试时出现报错:Caused by: java.lang.ClassNotFoundException: Cannot find class: Student StudentMapper.xml代码 1 <select id="getStudent" resultType="
阅读全文
posted @ 2020-08-11 10:43 事有回响
阅读(1759)
评论(0)
推荐(1)
上一页
1
2
3
公告