随笔分类 - java / spring boot
摘要:背景: spring boot是我们使用java进行开发的常用框架,难免会使用或见到过各式各样的注解,还有自定义的注解,这篇文章将收录并整理出最常见、最实用的注解,加以注释说明,避免大家踩坑。 参考资料: https://cloud.tencent.com/developer/article/205
阅读全文
摘要:背景: spring-boot-starter-parent 2.5.6 mybatis-spring-boot-starter 2.2.0 首先,请参考下面的参考资料进行排查,确保你没有出现参考资料里列举出的错误。 我遇到这个报错,是因为使用idea创建xml文件是没有后缀,举个例子,比如你创建的
阅读全文
摘要:参考资料: https://www.cnblogs.com/lhw-BC/p/14377527.html
阅读全文
摘要:直接打开这个网站 https://patorjk.com/software/taag/#p=testall&f=Larry%203D&t=Type%20Something%20 输入你想要的文字内容,点Test All即可,不想麻烦就用:stand、Ogre这些字体,这里我选择的字体是:Larry
阅读全文
摘要:private static <T> String parseListToStr(List<T> list){ String result = list.stream().map(o-> (String)"'"+o+"'").collect(Collectors.joining(",")); ret
阅读全文
摘要:参考资料: https://zhuanlan.zhihu.com/p/299608850
阅读全文
摘要:参考资料: https://blog.csdn.net/LQQianLee/article/details/80421768
阅读全文
摘要:背景: spring boot开发的项目,需要对jar包进行一些处理,使用了xjar。 一、在启动类的pom.xml添加如下配置 <!-- 添加 XJar 依赖 --> <dependency> <groupId>com.github.core-lib</groupId> <artifactId>x
阅读全文
摘要:参考资料: https://www.jb51.net/article/223892.htm https://blog.csdn.net/xhwangSGTL/article/details/111991017
阅读全文
摘要:前提: 客户端提交header,设置Content-Type类型为:application/json,这一项设置可有可无,但是为了避免出现其他不可预料的问题,事先说明,建议添加这一项请求头header设置。 一、使用@RequestParam @RequestMapping(value = "/lo
阅读全文

浙公网安备 33010602011771号