Can't get WebApplicationContext object from ContextRegistry.GetContext(): Resource handler for the 'web' protocol is not defined


在web.config添加下面配置
<modules runAllManagedModulesForAllRequests="true"> <add name="Spring" preCondition="integratedMode" type="Spring.Context.Support.WebSupportModule, Spring.Web"/> </modules>

posted on 2018-01-29 14:38  高达  阅读(68)  评论(0)    收藏  举报

导航