• An exception was thrown while activating Castle.Proxies.PersonAppServiceProxy. ABP Netcore


    2019-11-27 15:04:54.203 +08:00 [ERR] {
    "code": null,
    "message": "对不起,在处理你的请求期间,产生了一个服务器内部错误!",
    "details": null,
    "validationErrors": null
    }
    2019-11-27 15:04:54.203 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PersonAppServiceProxy.
    Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PersonAppServiceProxy.
    ---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Castle.Proxies.PersonAppServiceProxy' can be invoked with the available services and parameters:
    Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`1[Test.Person] personRepository' of constructor 'Void .ctor(Castle.DynamicProxy.IInterceptor[], Volo.Abp.Domain.Repositories.IRepository`1[Test.Person])'.
    at Autofac.Core.Activators.Reflection.ReflectionActivator.GetValidConstructorBindings(IComponentContext context, IEnumerable`1 parameters)
    at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
    at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)
    --- End of inner exception stack trace ---

    上面错误日志 

    没有做数据库映射

  • 相关阅读:
    读书笔记
    STL 笔记
    Centos8如何配置网桥
    命令集合
    shared_ptr给管理的对象定制析沟函数
    share_ptr指向的对象的析构动作在创建的时候被捕获
    优秀博客
    字符串单词翻转
    带权图的最短路径算法(Dijkstra,Floyd,Bellman_ford)
    生产者与消费者 c++实现
  • 原文地址:https://www.cnblogs.com/shangdishijiao/p/11942554.html
Copyright © 2020-2023  润新知