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 ---

    上面错误日志 

    没有做数据库映射

  • 相关阅读:
    Eureka实现注册与发现
    SpringBoot之彩色输出
    SpringBoot之简单日志配置
    SpringBoot之文件读取
    springboot之banner
    记一下一个我误解的小特性
    spring4新特性-泛型依赖注入
    boot之mybatis
    springmvc之单元测试(MockMvc)-独立测试
    git ignore
  • 原文地址:https://www.cnblogs.com/shangdishijiao/p/11942554.html
Copyright © 2011-2022 走看看