@PropertySource 无法读取到properties 配置文件
spring mvc 项目使用 @PropertySource 读取项目src/main/resource 路径下的配置文件
@PropertySource({"classpath*:aa.properties"})
但是启动报错
file not found path /classpath:aa.properties
调试 发现路径 是 src/main/webapp/classpath:aa.properties
求大神解释,,为什么不是从 classpath 下面读取 ??