如果报 org.springframework.web.context.ContextLoaderListener错,有可能是工程大改后maven工程没有及时更新,或之前错误的工程缓存还在.因此我的处理方式是:product--->clean工程,tomcat也同样移除工程,再重新添加工程,保证工程最新.