Caused by: java.io.FileNotFoundException: class path resource [Classpath:jdbc.properties] cannot be opened because it does not exist
最后找到问题是在jdbcConfig中的注解@PropertySource(“classpath:jdbc.properties”)
classpath写成了Classpath。
要注意大小写!!
Caused by: java.io.FileNotFoundException: class path resource [Classpath:jdbc.properties] cannot be opened because it does not exist
最后找到问题是在jdbcConfig中的注解@PropertySource(“classpath:jdbc.properties”)
classpath写成了Classpath。
要注意大小写!!