Autofac.Core.DependencyResolutionException : An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = Object (DelegateActivator), Services = [某接口名.Api], Lifetime = Autofac.Co
遇到一个巨坑 跑公司的一个项目,拉下来代码,跑不起来.发现maven一直报这个错 was cached in the local repository,resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced 然后去搜索了一下,基本上原因都说是本地缓存的内容不是最新的.推荐的方式有两种: 1.删除本地缓存的内容,重新导入依赖 2.命令行加 -U参数