在整合Spring、SpringMVC、Mybatis时意外出现了这个错误Could not open ServletContext resource [/jdbc.properties] 与[/mybatis-config.xml],是因为引用资源书写格式错误,正确的书写应该是:
"classpath:jdbc.properties"
"classpath:mybatis-config.xml"
*加上classpath:
在整合Spring、SpringMVC、Mybatis时意外出现了这个错误Could not open ServletContext resource [/jdbc.properties] 与[/mybatis-config.xml],是因为引用资源书写格式错误,正确的书写应该是:
"classpath:jdbc.properties"
"classpath:mybatis-config.xml"
*加上classpath: