用的abp+vue,在abp中添加了Abp.RedisCache之后,使用swagger 后端正常运行,接口可以访问, 前端登录的时候
调用/AbpUserConfiguration/GetAll 出现错误。错误日志LOG中
Mvc.ExceptionHandling.AbpExceptionFilter - Method not found: 'Abp.Runtime.Caching.ICache Abp.Runtime.Caching.ICacheManager.GetCache(System.String)'.
System.MissingMethodException: Method not found: 'Abp.Runtime.Caching.ICache Abp.Runtime.Caching.ICacheManager.GetCache(System.String)'.
at Abp.Localization.MultiTenantLocalizationDictionaryCacheHelper.GetMultiTenantLocalizationDictionaryCache(ICacheManager cacheManager)
at Abp.Localization.MultiTenantLocalizationDictionary.GetAllStrings(Nullable`1 tenantId)
at Castle.Proxies.Invocations.ILocalizationDictionary_GetAllStrings.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.MultiTenantLocalizationDictionaryProxy.GetAllStrings()
at Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource.GetAllStrings(CultureInfo culture, Boolean includeDefaults) in D:\Github\aspnetboilerplate\src\Abp\Localization\Dictionaries\DictionaryBasedLocalizationSource.cs:line 152
at Abp.Web.Configuration.AbpUserConfigurationBuilder.GetUserLocalizationConfig() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Configuration\AbpUserConfigurationBuilder.cs:line 144
at Abp.Web.Configuration.AbpUserConfigurationBuilder.GetAll() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Configuration\AbpUserConfigurationBuilder.cs:line 77
at Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll() in D:\Github\aspnetboilerplate\src\Abp.AspNetCore\AspNetCore\Mvc\Controllers\AbpUserConfigurationController.cs:line 18
at lambda_method(Closure , Object )
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()