zoukankan      html  css  js  c++  java
  • 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 ---

    上面错误日志 

    没有做数据库映射

  • 相关阅读:
    常见加密算法概述
    IDEA常见错误解决
    linux Find命令教程
    用注册表更改DNS的代码分享
    关于javascript中的typeof和instanceof介绍
    javascript instanceof,typeof的区别
    Javascript typeof 用法
    浅析JavaScript中的typeof运算符
    玩转Linux文件描述符和重定向
    shell脚本 批量转换目录下文件编码
  • 原文地址:https://www.cnblogs.com/shangdishijiao/p/11942554.html
Copyright © 2011-2022 走看看