摘要: 同名资源存在时,classpath: 只从第一个符合条件的classpath中加载资源,而classpath*: 会从所有的classpath中加载符合条件的资源 classpath*:需要遍历所有的classpath,效率肯定比不上classpath,因此在项目设计的初期就尽量规划好资源文件所在的 阅读全文
posted @ 2016-11-16 16:38 yangfei969 阅读(391) 评论(0) 推荐(0) 编辑