摘要: maven 项目运行时出控制台报错:com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1字节的 UTF-8 序列的字节 1 无效 该错误是由一些配置文件引起的:如applicationContext. 阅读全文
posted @ 2020-08-19 11:12 事有回响 阅读(2638) 评论(0) 推荐(1) 编辑
摘要: 全局配置: 在 maven 的 conf 目录下的 settings.xml 中 <mirrors> 标签添加 <mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name 阅读全文
posted @ 2020-08-18 17:37 事有回响 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 测试运行时报错: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 事有回响 阅读(1863) 评论(0) 推荐(1) 编辑
摘要: 第一步:File菜单,选择 Project Structure 第二步:在 Modules 中选中需要添加的项目 右键 Add 选为 web 第三步:在Artifacts 下,点击+ 选中:Web Application:Exploded-->>From Modules 第四步:选择 tomcat 阅读全文
posted @ 2020-08-13 10:30 事有回响 阅读(801) 评论(0) 推荐(0) 编辑
摘要: ehcache 导包 <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</ 阅读全文
posted @ 2020-08-12 17:38 事有回响 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 在使用Mybatis进行测试时出现报错:Caused by: java.lang.ClassNotFoundException: Cannot find class: Student StudentMapper.xml代码 1 <select id="getStudent" resultType=" 阅读全文
posted @ 2020-08-11 10:43 事有回响 阅读(1595) 评论(0) 推荐(1) 编辑