java.io.FileNotFoundException: Could not open ServletContext resource [/SpringContext.xml]

java.io.FileNotFoundException: Could not open ServletContext resource [/SpringContext.xml]


ssm整合,web.xml文件中SpringContext.xml扫描不到,路径,名字都没问题

   
        contextConfigLocation  
        /SpringContext.xml  
 

改为:

   
        contextConfigLocation  
        classpath:SpringContext.xml  
 

你可能感兴趣的:(java.io.FileNotFoundException: Could not open ServletContext resource [/SpringContext.xml])