问题分析:
@PropertySource("jdbc.properties") 错误
未能在[com.ssm.config.SpringConfig]的类中找到相关的[/jdbc.properties]文件。
解决方案:
在Spring配置类改写注解为@PropertySource("classpath:jdbc.properties")即可。

问题分析:
@PropertySource("jdbc.properties") 错误
未能在[com.ssm.config.SpringConfig]的类中找到相关的[/jdbc.properties]文件。
解决方案:
在Spring配置类改写注解为@PropertySource("classpath:jdbc.properties")即可。