asp.net mvc - Integrating Spring.Net in MVC Application -
i trying integrate spring.net concept in mvc application. followed steps mentioned in http://www.gitshah.com/2011/08/integrating-springnet-with-mvc3.html throwing error: "field not found: 'spring.context.support.abstractapplicationcontext.log'."
stack trace:
[missingfieldexception: field not found: 'spring.context.support.abstractapplicationcontext.log'.] spring.context.support.mvcapplicationcontext..ctor(mvcapplicationcontextargs args) in c:_prj\spring-net\trunk\src\spring\spring.web.mvc\context\support\mvcapplicationcontext.cs:81 _dynamic_spring.context.support.mvcapplicationcontext..ctor(object[] ) +245 spring.reflection.dynamic.safeconstructor.invoke(object[] arguments) in c:_prj\spring-net\src\spring\spring.core\reflection\dynamic\dynamicconstructor.cs:113 spring.context.support.rootcontextinstantiator.invokecontextconstructor(constructorinfo ctor) in c:_prj\spring-net\src\spring\spring.core\context\support\contexthandler.cs:562 spring.context.support.contextinstantiator.instantiatecontext() in c:_prj\spring-net\src\spring\spring.core\context\support\contexthandler.cs:507 spring.context.support.contexthandler.instantiatecontext(iapplicationcontext parentcontext, object configcontext, string contextname, type contexttype, boolean casesensitive, ilist`1 resources) in c:_prj\spring-net\src\spring\spring.core\context\support\contexthandler.cs:343 spring.context.support.contexthandler.create(object parent, object configcontext, xmlnode section) in c:_prj\spring-net\src\spring\spring.core\context\support\contexthandler.cs:288
[configurationerrorsexception: error creating context 'portal': field not found: 'spring.context.support.abstractapplicationcontext.log'.] system.configuration.baseconfigurationrecord.evaluateone(string[] keys, sectioninput input, boolean istrusted, factoryrecord factoryrecord, sectionrecord sectionrecord, object parentresult) +176 system.configuration.baseconfigurationrecord.evaluate(factoryrecord factoryrecord, sectionrecord sectionrecord, object parentresult, boolean getlkg, boolean getruntimeobject, object& result, object& resultruntimeobject) +1189 system.configuration.baseconfigurationrecord.getsectionrecursive(string configkey, boolean getlkg, boolean checkpermission, boolean getruntimeobject, boolean requestishere, object& result, object& resultruntimeobject) +1476 system.configuration.baseconfigurationrecord.getsection(string configkey) +41 system.web.httpcontext.getsection(string sectionname) +52 system.web.configuration.httpconfigurationsystem.getsection(string sectionname) +56 system.web.configuration.httpconfigurationsystem.system.configuration.internal.iinternalconfigsystem.getsection(string configkey) +11 system.configuration.configurationmanager.getsection(string sectionname) +79 spring.util.configurationutils.getsection(string sectionname) in c:_prj\spring-net\src\spring\spring.core\util\configurationutils.cs:68 spring.context.support.contextregistry.initializecontextifneeded() in c:_prj\spring-net\src\spring\spring.core\context\support\contextregistry.cs:388 spring.context.support.contextregistry.getcontext() in c:_prj\spring-net\src\spring\spring.core\context\support\contextregistry.cs:252 spring.web.mvc.springcontrollerfactory.get_applicationcontext() in c:_prj\spring-net\trunk\src\spring\spring.web.mvc\springcontrollerfactory.cs:52 spring.web.mvc.springcontrollerfactory.createcontroller(requestcontext requestcontext, string controllername) in c:_prj\spring-net\trunk\src\spring\spring.web.mvc\springcontrollerfactory.cs:85 system.web.mvc.mvchandler.processrequestinit(httpcontextbase httpcontext, icontroller& controller, icontrollerfactory& factory) +194 system.web.mvc.mvchandler.beginprocessrequest(httpcontextbase httpcontext, asynccallback callback, object state) +50 system.web.mvc.mvchandler.beginprocessrequest(httpcontext httpcontext, asynccallback callback, object state) +48 system.web.mvc.mvchandler.system.web.ihttpasynchandler.beginprocessrequest(httpcontext context, asynccallback cb, object extradata) +16 system.web.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() +103 system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) +155
Comments
Post a Comment