1、创建Java Web项目 2、在WEB-INF/lib路径下添加Spring依赖包 3、在src路径下添加applicationContext.xml的Spring 配置文件 4、修改web.xml文件,添加Spring配置 相关文章: