classpath 是和類文件在一個文件夾下的 若是你的xml 文件和web.xml在一個目錄下,就這樣 springServletorg.springframework.web.servlet.DispatcherServlethttp://www.fpshamen.com/linked/20130223.do; contextConfigLocation/WEB-INF/spring-mvc.xml1springServlet/http://hz1.aaafaipiao.com/linked/20130223.do;