摘要:
1. 必需引用 mybatis-spring-boot-starter, 否则不能扫描生效。可以用 mybatis-plus 的 mybatis-plus-boot-starter 替代。 2. 从网上搜 MapperScan,大部分说是通过 basePackage 指定扫描多个包,本身没问题,但不 阅读全文
摘要:
用 httpClient 连接 https 服务,如果证书与 host 不匹配,就会报:Certificate for <124.xxx.xxx.xxx> doesn't match any of the subject alternative names 可以通过在创建 SSLConnection 阅读全文