摘要: <context:property-placeholder location="属性文件,多个之间逗号分隔" file-encoding="文件编码" ignore-resource-not-found="是否忽略找不到的属性文件" ignore-unresolvable="是否忽略解析不到的属性, 阅读全文
posted @ 2020-04-30 17:21 与f 阅读(2087) 评论(0) 推荐(0)
摘要: 一:通过context:property-placeholder标签实现配置文件加载 在spring的配置文件中添加如下声明 <context:property-placeholder ignore-unresolvable="true" location="classpath:jdbc.prope 阅读全文
posted @ 2020-04-30 17:20 与f 阅读(3994) 评论(0) 推荐(0)
摘要: ssm项目tomcat启动后报以下问题 log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).log4j:WARN Please initialize the 阅读全文
posted @ 2020-04-30 17:04 与f 阅读(4234) 评论(0) 推荐(0)