对于maven项目,tomcat启动不加载spring配置文件,是因为找不到web.xml文件
右键项目properties 选择 Deployment Assembly 编辑 Web Deployment Assembly,注意主要是红色线框中的路径
对于maven项目,tomcat启动不加载spring配置文件,是因为找不到web.xml文件
右键项目properties 选择 Deployment Assembly 编辑 Web Deployment Assembly,注意主要是红色线框中的路径
转载于:https://my.oschina.net/u/3247574/blog/1563100