首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
classpath的两种用法
classpath的两种用法
mac
2022-06-30
25
classpath两种用法:
classpath*:applicationContext.xml会加入本项目及所有jar包根目录下的applicationContext.xml文件,跨jar包依赖时使用classpath:applicationContext.xml只加入本项目根目录下的applicationContext.xml文件,不依赖其它jar包的配置文件时推荐这样写,以避免冲突。
end
转载请注明原文地址: https://mac.8miu.com/read-54255.html
最新回复
(
0
)