创建mybatis程序遇到的异常
Could not find resource com.person.dao.UserMapper.xml
mybatis核心中不能用点.
<mapper resource=“com.person.dao/UserMapper.xml” /> —错误代码
<mapper resource=“com/person/dao/UserMapper.xml” />—正确代码
3 字节的 UTF-8 序列的字节 3 无效。
xml中不要有中文,因为idea默认编码GBK,如果setting里设置idea默认编码都是utf-8,应该是不会报这个错的
Path does not chain with any of the trust anchors
将useSSL=true改为useSSL=false
给个建议:对着错误日志改(百度啥都好),注意错误日志的头和尾,(改的头疼 w(゚Д゚)w)