这个问题刚开始会很常见,经常忘记在写路径的地方加上classpath:
比如springmvc.xml中如果不写classpath就会报如下的错:
ServletContext resource [/com/tjcu/mapper/] cannot be resolved to URL because it does not exist
web.xml:
springmvc org.springframework.web.servlet.DispatcherServlet contextConfigLocation classpath:springmvc.xml springmvc /
后续如果再遇到类似的,再补充......


![Could not open ServletContext resource [/dataSource.properties] Could not open ServletContext resource [/dataSource.properties]](http://www.mshxw.com/aiimages/31/582237.png)
