随笔分类 -  java

摘要:参考资料: https://blog.51cto.com/u_13137233/3409627 阅读全文
posted @ 2022-08-01 17:40 jamstack 阅读(31) 评论(0) 推荐(0)
摘要:参考资料: https://zhuanlan.zhihu.com/p/299608850 阅读全文
posted @ 2022-07-11 10:26 jamstack 阅读(23) 评论(0) 推荐(0)
摘要:参考资料: https://blog.csdn.net/LQQianLee/article/details/80421768 阅读全文
posted @ 2022-06-20 16:43 jamstack 阅读(128) 评论(0) 推荐(0)
摘要:参考资料: https://www.cnblogs.com/wwyz/p/6809869.html 阅读全文
posted @ 2022-06-20 14:29 jamstack 阅读(223) 评论(0) 推荐(0)
摘要:背景: spring boot开发的项目,需要对jar包进行一些处理,使用了xjar。 一、在启动类的pom.xml添加如下配置 <!-- 添加 XJar 依赖 --> <dependency> <groupId>com.github.core-lib</groupId> <artifactId>x 阅读全文
posted @ 2022-06-20 10:52 jamstack 阅读(721) 评论(0) 推荐(0)
摘要:参考资料: https://www.jb51.net/article/223892.htm https://blog.csdn.net/xhwangSGTL/article/details/111991017 阅读全文
posted @ 2022-06-14 20:31 jamstack 阅读(70) 评论(0) 推荐(0)
摘要:参考资料: https://juejin.cn/post/7090581543659241480 阅读全文
posted @ 2022-06-14 18:23 jamstack 阅读(13) 评论(0) 推荐(0)
摘要:参考资料: https://zetcode.com/springboot/banner/ 阅读全文
posted @ 2022-06-13 18:14 jamstack 阅读(21) 评论(0) 推荐(0)
摘要:错误信息: parent.relativePath' of POM com.fast:fast-workflow-spring-boot-starter:1.0-SNAPSHOT (D:\project\spring-auto-parent\fast-workflow-spring-boot-sta 阅读全文
posted @ 2022-06-13 16:16 jamstack 阅读(76) 评论(0) 推荐(0)
摘要:参考资料: https://www.codenong.com/2206598/ 阅读全文
posted @ 2022-06-10 10:47 jamstack 阅读(1316) 评论(0) 推荐(0)
摘要:参考资料: https://cloud.tencent.com/developer/article/1506869 阅读全文
posted @ 2022-06-07 20:14 jamstack 阅读(118) 评论(0) 推荐(0)
摘要:spring boot的@Value注解可以读取配置文件的值,使用方法如下: @Value("${server.port}") 需要注意的是,要先在配置文件里定义server.port = 8080,不然会报错,也就是说@Value注解如果取的是配置文件里没有定义的key,就会报错 阅读全文
posted @ 2022-05-19 18:44 jamstack 阅读(183) 评论(0) 推荐(0)
摘要:下载: https://repo.spring.io/ui/native/release/org/springframework/boot/spring-boot-cli/2.4.5/ 把下载的压缩包解压到D:\soft\spring-boot-cli-2.4.5-bin\spring-2.4.5, 阅读全文
posted @ 2022-05-19 14:40 jamstack 阅读(238) 评论(0) 推荐(0)
摘要:背景: 同样的项目,在办公电脑上一切正常,换一个开发环境就报错了,开始以为是jdk版本版本不一致导致的,把jdk版本调整一致,问题还算没有解决,查了一些资料,有说是yml配置文件编码不是utf-8,改成utf-8问题仍然存在,还有说是maven默认编码是gbk,是maven导致的,实际测试,这个错误 阅读全文
posted @ 2022-05-16 23:18 jamstack 阅读(661) 评论(0) 推荐(0)
摘要:参考资料: https://blog.csdn.net/weixin_42771651/article/details/121563281 阅读全文
posted @ 2022-05-16 18:16 jamstack 阅读(73) 评论(0) 推荐(0)
摘要:参考资料: https://zhuanlan.zhihu.com/p/374416889 阅读全文
posted @ 2022-05-16 12:00 jamstack 阅读(22) 评论(0) 推荐(0)
摘要:参考资料: https://blog.51cto.com/u_15338211/3561353 阅读全文
posted @ 2022-05-16 12:00 jamstack 阅读(20) 评论(0) 推荐(0)
摘要:参考资料: https://www.cnblogs.com/sfnz/p/14165317.html 阅读全文
posted @ 2022-05-16 11:59 jamstack 阅读(23) 评论(0) 推荐(0)