1. Pom.xml配置

语法顺序

<properties resource="config.properties"> </properties>
<settings>
<setting name="logImpl" value="LOG4J"/>
</settings>

2. mybatis中找不到配置的xml文件

https://blog.csdn.net/u010648555/article/details/70880425

https://blog.csdn.net/qq_23184291/article/details/78089115

3. 报错java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized

原因:数据库和系统时区差异所造成的。

解决办法:在jdbc连接的url后面加上?serverTimezone=GMT即可解决问题,如果需要使用gmt+8时区,需要写成GMT%2B8

https://blog.csdn.net/oppo5630/article/details/52162783

4.异常信息:nested exception is com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 3 字节的 UTF-8 序列的字节 3 无效。

原因:由于配置文件存在中文或中文空格,导致UTF-8编码格式出错。注释也可能会导致出错

https://blog.csdn.net/coffeehot/article/details/66971567

0. 其他

1.使用IDEA新建项目时,先在src/main目录下新建java目录,将java目录设置为resource root目录后,才可以使用com..的方式在src/main/java/com//路径建立包,否则仅会建立单个文件名为com..**的文件夹

最新文章

  1. 移动端web开发技巧
  2. Binary Tree: Write a function to return count of nodes in binary tree which has only one child.
  3. getComputedStyle()与currentStyle
  4. Swift(三.函数)
  5. css实现居中的各种方法
  6. JOSM学习下载地址
  7. Ubuntu下Tomcat初始配置
  8. C#多线程处理
  9. PHP安装-phpMyAdmin+Discuz
  10. 简单总结下opacity、transparent以及rgba
  11. Lab 3-2
  12. quartz中设置Job不并发执行
  13. es-08-hadoop集成
  14. 我的第一个Python随笔
  15. [Leetcode Week14]Maximum Binary Tree
  16. 常用python shell
  17. VRChat简易教程4-使用VRC的接口实现物体的移动(VRC的action和trigger接口)
  18. JBPM的ORACLE脚本
  19. Django Reverse for &#39;artic_post&#39; with arguments &#39;()&#39; and keyword arguments &#39;{}&#39; not found. 0 pattern(s) tried: []
  20. AD RMS总结

热门文章

  1. [FAQ04776]如何默认打开user版本 debug 选项, 默认打开adb 连接【转】
  2. SDUT 周赛 神奇的树(简单题 注意数据类型的溢出 )
  3. intellij IDEA怎样打war包
  4. macbook pro 配置jdk,maven环境变量
  5. 小程序不支持wx.request同步请求解决方法
  6. Hibernate 4.3 配置文件实现
  7. ASP.NET Core MVC 2.x 全面教程_ASP.NET Core MVC 12. Views 下
  8. Swift3.0 元组 (tuples)
  9. 704. Binary Search
  10. AGC031 A~C