spring中的classpath表明哪一个目录

在spring项目的XML中加载db.properties文件配置以下:java <!-- 加载配置文件 --> <context:property-placeholder location="classpath:db.properties"/> spring 开始不知道classpath是哪一个路径,后来发现整个项目运行的时候,不单单是java类会被编译成class存放在classes目录下,并
相关文章
相关标签/搜索