首页 > 技术文章 > An exception was thrown while activating Al.Veneer.Cad.PlateTypes.CadPlateTypeController. .....abpcore

shangdishijiao 2019-12-05 11:37 原文

2019-12-05 11:23:18.704 +08:00 [ERR] {
"code": null,
"message": "对不起,在处理你的请求期间,产生了一个服务器内部错误!",
"details": null,
"validationErrors": null
}
2019-12-05 11:23:18.705 +08:00 [ERR] An exception was thrown while activating Al.Veneer.Cad.PlateTypes.CadPlateTypeController.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Al.Veneer.Cad.PlateTypes.CadPlateTypeController.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Al.Veneer.Cad.PlateTypes.CadPlateTypeController' can be invoked with the available services and parameters:
Cannot resolve parameter 'Al.Veneer.Cad.PlateTypes.ICadPlateTypeAppService plateTypeAppService' of constructor 'Void .ctor(Al.Veneer.Cad.PlateTypes.ICadPlateTypeAppService)'.
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 ---

 

 

都是说的文件名反射有问题 要改下文件名

推荐阅读