只会到你的class路径中查找找文件。
不仅包含class路径,还包括jar文件中(class路径)进行查找。
src不是classpath,WEB-INF/classes及WEB-INF/lib才是classpath
WEB-INF/classes
WEB-INF/lib
lib和classes同属classpath,两者的访问优先级为: lib>classes。
java项目中Classpath路径到底指的是哪里