记录真实开发问题、项目实践和两三句就能说明白的技术点
Maven 报 Error executing Maven / 1 problem was encountered while building the effective settings 的原因:settings.xml 格式错误(标签不匹配、多了多余字符或标签)。核对...
1.升序排序,1,2,3 list=list.stream().sorted(Comparator.comparing(VipCardVo::getVipCardType)).collect(Collectors.toList()); 2.…
Maven 编译报 No compiler is provided / Perhaps you are running on a JRE rather than a JDK 的原因与解决办法(Eclipse 指向 JDK)。
axios它是基于promise的http库,可运行在浏览器端和node.js中,然后作者尤雨溪也是果断放弃了对其官方库vue-resource的维护,直接推荐axios库,小编我也是从vue-resource转换过来的,差别说不来,我们讲…
解决方案 一 Eclipse如果报错:The import XXX cannot be resolved,xxx类都没什么问题。 解放方法 project--》clean下。 alt+/ 有时候不灵。
问题: eclipse环境下报错:log cannot be resolved 由于最近在弄elastic-job ,在下载源码后会报一些错误,变量log 找不到,没有getter/setter 方法之类的。 之前没有接触过lombok ,…
HttpClient 4.5 入门:官方英文文档与中文文档地址,及 CloseableHttpClient / HttpGet / HttpPost / RequestConfig 的核心用法与 GET、POST 表单最小示例(含连接池、响应体关闭注意事项)。
Maven 中央仓库(mvnrepository.com),可查询 Java 依赖的坐标(groupId/artifactId/version)、可用版本与下载来源,是日常引包必备站点。
mybatis 3 中文文档 http://www.mybatis.org/mybatis-3/zh/configuration.html MyBatis | 入门和基础 https://www.jianshu.com/p/510a7a84…
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured 项目appl…
用 MyBatis Generator 的 Rename 插件把生成的 Mapper/Example 文件重命名为 Dao/Query 的 generatorConfig.xml 配置示例。
从网上搜集了一个最完整的Mybatis Generator 的最完整配置文件,带详解 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE generatorConfiguration PUBLI…
最近在学习 java 碰到请求 接口的相关方面 于是呼从网上搜了谢资料 在这里记录一下一遍学习研究 实现get,post,put和delete请求 1. 什么是HttpClient HTTP 协议可能是现在 Internet 上使用得最多、…
在model(类似于entity)新建Do类class 在dao中建操作数据库的接口(dao就是数据库操作的接口) 用jpa的话基本的操作都有了,复杂业务查询自己写(i18n) 用mybatis的话就要写mapper(xml文件) 在ser…
博主 xdp-gacl 的 MyBatis 学习总结系列文章合集(cnblogs 标签页),从入门到源码分析,覆盖 MyBatis 基本使用、映射、动态 SQL 与缓存等。