部署到Docker后,路径造成的异常

class path resource [] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/app/app.jar!/BOOT-INF/classes!/

复制代码
mapper-locations: classpath:com/mysql/*.xml,classpath:com/postgresql/*.xml

mapper-locations: classpath*:com/mapper/**/*.xml

classpath: = only root classpath
classpath*: = scan all JARs + subfolders

相关推荐
每日出拳老爷子5 小时前
【远程协助】内网 IT 运维远程协助系统的最小可用架构
运维·服务器·远程工作·流媒体·视音频
weixin_462446235 小时前
使用 Puppeteer 设置 Cookies 并实现自动化分页操作:前端实战教程
运维·前端·自动化
实战项目7 小时前
软件测试自动化框架的设计与实现
运维·自动化
Aotman_7 小时前
Element-UI Message Box弹窗 使用$confirm方法自定义模版内容,修改默认样式
linux·运维·前端
Elastic 中国社区官方博客8 小时前
使用 Elastic 中的 OpenTelemetry 为 Nginx 实现端到端分布式追踪的实用指南
大数据·运维·分布式·elasticsearch·搜索引擎·信息可视化·全文检索
独自破碎E8 小时前
配置ssh解决https不稳定的问题
运维·ssh
那些年的笔记9 小时前
Linux屏幕旋转方法
linux·运维·服务器
竹之却9 小时前
CentOS 系列,防火墙相关指令
linux·运维·centos
JadenOliver9 小时前
Docker 守护进程核心配置入口:daemon.json
docker·daemon.json
gaize12139 小时前
科普篇“机架、塔式、刀片”三类服务器对比
运维·服务器