第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

spring.net與Nhibernate問題

spring.net與Nhibernate問題

ABOUTYOU 2018-12-07 12:06:23
“/”應(yīng)用程序中的服務(wù)器錯(cuò)誤。 ? Could not load type from string value 'DirectCenter.DAL.UserDao, DirectCenter.DAL'. 說明:?執(zhí)行當(dāng)前 Web 請(qǐng)求期間,出現(xiàn)未處理的異常。請(qǐng)檢查堆棧跟蹤信息,以了解有關(guān)該錯(cuò)誤以及代碼中導(dǎo)致錯(cuò)誤的出處的詳細(xì)信息。?異常詳細(xì)信息:?System.TypeLoadException: Could not load type from string value 'DirectCenter.DAL.UserDao, DirectCenter.DAL'.源錯(cuò)誤:? 執(zhí)行當(dāng)前 Web 請(qǐng)求期間生成了未處理的異常??梢允褂孟旅娴漠惓6褩8櫺畔⒋_定有關(guān)異常原因和發(fā)生位置的信息。 堆棧跟蹤:? [TypeLoadException: Could not load type from string value 'DirectCenter.DAL.UserDao, DirectCenter.DAL'.] Spring.Core.TypeResolution.TypeResolver.Resolve(String typeName) +224 Spring.Core.TypeResolution.GenericTypeResolver.Resolve(String typeName) +309 Spring.Core.TypeResolution.CachedTypeResolver.Resolve(String typeName) +229 Spring.Core.TypeResolution.TypeResolutionUtils.ResolveType(String typeName) +41 Spring.Objects.Factory.Support.AbstractObjectDefinition.ResolveObjectType() +35 Spring.Objects.Factory.Support.AbstractObjectFactory.ResolveObjectType(RootObjectDefinition rod, String objectName) +71 [CannotLoadObjectTypeException: Cannot resolve type [DirectCenter.DAL.UserDao, DirectCenter.DAL] for object with name 'UserDao' defined in assembly [DirectCenter.App, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null], resource [DirectCenter.App.Dao.xml]] Spring.Objects.Factory.Support.AbstractObjectFactory.ResolveObjectType(RootObjectDefinition rod, String objectName) +137 Spring.Objects.Factory.Support.DefaultListableObjectFactory.PreInstantiateSingletons() +267 Spring.Context.Support.AbstractApplicationContext.Refresh() +512 Spring.Context.Support.WebApplicationContext..ctor(String name, Boolean caseSensitive, IApplicationContext parentContext, String[] configurationLocations) +66 Spring.Context.Support.WebApplicationContext..ctor(String name, Boolean caseSensitive, String[] configurationLocations) +17 [TargetInvocationException: 調(diào)用的目標(biāo)發(fā)生了異常。] System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0 System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +15 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +249 Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object[] arguments) +229 [FatalReflectionException: Cannot instantiate Type [Spring.Context.Support.WebApplicationContext] using ctor [Void .ctor(System.String, Boolean, System.String[])] : '調(diào)用的目標(biāo)發(fā)生了異常。'] Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object[] arguments) +378 Spring.Context.Support.RootContextInstantiator.InvokeContextConstructor(ConstructorInfo ctor) +108 Spring.Context.Support.ContextInstantiator.InstantiateContext() +34 Spring.Context.Support.ContextHandler.InstantiateContext(IApplicationContext parentContext, Object configContext, String contextName, Type contextType, Boolean caseSensitive, String[] resources) +106 Spring.Context.Support.WebContextHandler.InstantiateContext(IApplicationContext parent, Object configContext, String contextName, Type contextType, Boolean caseSensitive, String[] resources) +268 Spring.Context.Support.ContextHandler.Create(Object parent, Object configContext, XmlNode section) +265 [ConfigurationErrorsException: Error creating context 'spring.root': Could not load type from string value 'DirectCenter.DAL.UserDao, DirectCenter.DAL'.] System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) +202 System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) +1061 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1431 System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) +56 System.Configuration.BaseConfigurationRecord.GetSection(String configKey) +8 System.Web.HttpContext.GetSection(String sectionName) +47 System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName) +39 System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey) +6 System.Configuration.ConfigurationManager.GetSection(String sectionName) +78 Spring.Util.ConfigurationUtils.GetSection(String sectionName) +50 Spring.Context.Support.WebApplicationContext.GetContextInternal(String virtualPath) +829 Spring.Context.Support.WebApplicationContext.GetRootContext() +84 Spring.Context.Support.WebSupportModule.Init(HttpApplication app) +372 System.Web.HttpApplication.InitModulesCommon() +65 System.Web.HttpApplication.InitModules() +43 System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729 System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289 版本信息:?Microsoft .NET Framework 版本:2.0.50727.4971; ASP.NET 版本:2.0.50727.4971 因?yàn)檫@個(gè)剛接觸,具體不知道該怎么說。這個(gè)問題是我在用HibernateTemplate注入到數(shù)據(jù)訪問類中的時(shí)候出錯(cuò)
查看完整描述

2 回答

?
森林海

TA貢獻(xiàn)2011條經(jīng)驗(yàn) 獲得超2個(gè)贊

DirectCenter.DAL.dll這個(gè)文件在bin文件中有嗎?

查看完整回答
反對(duì) 回復(fù) 2019-01-21
?
慕的地8271018

TA貢獻(xiàn)1796條經(jīng)驗(yàn) 獲得超4個(gè)贊

我也遇到了這個(gè)問題 百思不得解

查看完整回答
反對(duì) 回復(fù) 2019-01-21
  • 2 回答
  • 0 關(guān)注
  • 636 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)