spring boot
走路的猫头鹰
疯狂学习中
展开
-
使用ResourceUtils在发布后获取spring boot项目本地资源文件的坑
resource.getFile() expects the resource itself to be available on the file system, i.e. it can’t be nested inside a jar file. This is why it works when you run your application in STS but doesn’t work once you’ve built your application and run it from the.原创 2020-11-03 10:06:10 · 487 阅读 · 0 评论 -
spring boot2.* 整合ActiveMQ时版本引起的问题简录
之前项目使用的是一直是spring boot 2.0.*的版本整合ActiveMQ。本来以为spring boot2的版本之间改动应该不会太大,所以闲来无事试着更改成spring boot 2.1.*的版本,结果出现了一些版本上的问题。现在版本上出现的问题及解决办法记录了下来。首先添加ActiveMQ相关的依赖:<dependency> <groupId&g原创 2019-01-11 11:31:55 · 2389 阅读 · 0 评论