classpath:只会到你的class路径中查找找文件。 classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找。 转载于:https://www.cnblogs.com/coin1689/p/7903813.html