当我在实时服务器上更改web.config文件时(对于测试我更改了Application对象和Spring对象的属性)Spring停止注入其中一个引用。
ConifugurationErrorsException:创建上下文'spring.root'时出错:无法从字符串值'Contracts.Account.Consumer.IConsumerAccountManager'加载类型。]
有什么想法吗?
答案 0 :(得分:1)
指定程序集名称以避免意外: “'Contracts.Account.Consumer.IConsumerAccountManager,MYASSEMBLYNAME'