今天搭建SpringMvc的时候突然报:
org.springframework.beans.factory.BeanDefinitionStoreException: Could not resolve bean definition resource pattern [spring/ApplicationContext-*.xml]; nested exception is java.io.FileNotFoundException: ServletContext resource [/spring/] cannot be resolved to URL because it does not exist
经过自习检查路径配置文件名字什么都没有写错.最后发现是在web.xml中配置的时候少写了classpath:切记