chore: 移除多余的log提交
parent
37e1281f6c
commit
a1c2b29311
@ -1,327 +0,0 @@
|
||||
2024-02-22 15:07:12.338 +08:00 [FTL] NPin-Framework (Abp.vNext) 爆炸!
|
||||
System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<System.Type> Volo.Abp.DependencyInjection.IOnServiceExposingContext.get_ExposedTypes()'.
|
||||
at Volo.Abp.ObjectMapping.AbpObjectMappingModule.<>c.<PreConfigureServices>b__0_0(IOnServiceExposingContext onServiceExposingContext)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.TriggerServiceExposing(IServiceCollection services, Type implementationType, List`1 serviceTypes)
|
||||
at Volo.Abp.DependencyInjection.DefaultConventionalRegistrar.AddType(IServiceCollection services, Type type)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddTypes(IServiceCollection services, Type[] types)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionConventionalRegistrationExtensions.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
|
||||
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Program.<Main>$(String[] args) in D:\Projects\.NetCore\NPin\src\NPin.Web\Program.cs:line 30
|
||||
2024-02-22 15:17:54.753 +08:00 [FTL] NPin-Framework (Abp.vNext) 爆炸!
|
||||
System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<System.Type> Volo.Abp.DependencyInjection.IOnServiceExposingContext.get_ExposedTypes()'.
|
||||
at Volo.Abp.ObjectMapping.AbpObjectMappingModule.<>c.<PreConfigureServices>b__0_0(IOnServiceExposingContext onServiceExposingContext)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.TriggerServiceExposing(IServiceCollection services, Type implementationType, List`1 serviceTypes)
|
||||
at Volo.Abp.DependencyInjection.DefaultConventionalRegistrar.AddType(IServiceCollection services, Type type)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddTypes(IServiceCollection services, Type[] types)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionConventionalRegistrationExtensions.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
|
||||
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Program.<Main>$(String[] args) in D:\Projects\.NetCore\NPin\src\NPin.Web\Program.cs:line 30
|
||||
2024-02-22 15:25:21.415 +08:00 [FTL] NPin-Framework (Abp.vNext) 爆炸!
|
||||
System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<System.Type> Volo.Abp.DependencyInjection.IOnServiceExposingContext.get_ExposedTypes()'.
|
||||
at Volo.Abp.ObjectMapping.AbpObjectMappingModule.<>c.<PreConfigureServices>b__0_0(IOnServiceExposingContext onServiceExposingContext)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.TriggerServiceExposing(IServiceCollection services, Type implementationType, List`1 serviceTypes)
|
||||
at Volo.Abp.DependencyInjection.DefaultConventionalRegistrar.AddType(IServiceCollection services, Type type)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddTypes(IServiceCollection services, Type[] types)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionConventionalRegistrationExtensions.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
|
||||
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Program.<Main>$(String[] args) in D:\Projects\.NetCore\NPin\src\NPin.Web\Program.cs:line 30
|
||||
2024-02-22 15:30:54.930 +08:00 [FTL] NPin-Framework (Abp.vNext) 爆炸!
|
||||
System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<System.Type> Volo.Abp.DependencyInjection.IOnServiceExposingContext.get_ExposedTypes()'.
|
||||
at Volo.Abp.ObjectMapping.AbpObjectMappingModule.<>c.<PreConfigureServices>b__0_0(IOnServiceExposingContext onServiceExposingContext)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.TriggerServiceExposing(IServiceCollection services, Type implementationType, List`1 serviceTypes)
|
||||
at Volo.Abp.DependencyInjection.DefaultConventionalRegistrar.AddType(IServiceCollection services, Type type)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddTypes(IServiceCollection services, Type[] types)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionConventionalRegistrationExtensions.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
|
||||
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Program.<Main>$(String[] args) in D:\Projects\.NetCore\NPin\src\NPin.Web\Program.cs:line 30
|
||||
2024-02-22 15:40:34.731 +08:00 [FTL] NPin-Framework (Abp.vNext) 爆炸!
|
||||
System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<System.Type> Volo.Abp.DependencyInjection.IOnServiceExposingContext.get_ExposedTypes()'.
|
||||
at Volo.Abp.ObjectMapping.AbpObjectMappingModule.<>c.<PreConfigureServices>b__0_0(IOnServiceExposingContext onServiceExposingContext)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.TriggerServiceExposing(IServiceCollection services, Type implementationType, List`1 serviceTypes)
|
||||
at Volo.Abp.DependencyInjection.DefaultConventionalRegistrar.AddType(IServiceCollection services, Type type)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddTypes(IServiceCollection services, Type[] types)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionConventionalRegistrationExtensions.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
|
||||
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Program.<Main>$(String[] args) in D:\Projects\.NetCore\NPin\src\NPin.Web\Program.cs:line 30
|
||||
2024-02-22 16:18:43.136 +08:00 [FTL] NPin-Framework (Abp.vNext) 爆炸!
|
||||
System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<System.Type> Volo.Abp.DependencyInjection.IOnServiceExposingContext.get_ExposedTypes()'.
|
||||
at Volo.Abp.ObjectMapping.AbpObjectMappingModule.<>c.<PreConfigureServices>b__0_0(IOnServiceExposingContext onServiceExposingContext)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.TriggerServiceExposing(IServiceCollection services, Type implementationType, List`1 serviceTypes)
|
||||
at Volo.Abp.DependencyInjection.DefaultConventionalRegistrar.AddType(IServiceCollection services, Type type)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddTypes(IServiceCollection services, Type[] types)
|
||||
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionConventionalRegistrationExtensions.AddAssembly(IServiceCollection services, Assembly assembly)
|
||||
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
|
||||
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
|
||||
at Program.<Main>$(String[] args) in D:\Projects\.NetCore\NPin\src\NPin.Web\Program.cs:line 30
|
||||
2024-02-22 16:23:43.692 +08:00 [FTL] Application startup exception
|
||||
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider.
|
||||
---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Authentication.AuthenticationOptions])' on type 'AuthenticationSchemeProvider'.
|
||||
---> System.InvalidOperationException: Scheme already exists: Bearer
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationOptions.AddScheme(String name, Action`1 configureBuilder)
|
||||
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
|
||||
at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value()
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider..ctor(IOptions`1 options, IDictionary`2 schemes)
|
||||
at lambda_method181(Closure, Object[])
|
||||
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
|
||||
at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass39_0.<OnActivated>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.<Execute>b__0()
|
||||
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func`1 creator)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable`1 qualifyingId, Func`1 creator)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.Core.Container.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
|
||||
at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType)
|
||||
at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)
|
||||
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
|
||||
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
|
||||
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.ReflectionMiddlewareBinder.CreateMiddleware(RequestDelegate next)
|
||||
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
|
||||
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
|
||||
2024-02-22 16:23:43.693 +08:00 [ERR] Hosting failed to start
|
||||
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider.
|
||||
---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Authentication.AuthenticationOptions])' on type 'AuthenticationSchemeProvider'.
|
||||
---> System.InvalidOperationException: Scheme already exists: Bearer
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationOptions.AddScheme(String name, Action`1 configureBuilder)
|
||||
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
|
||||
at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value()
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider..ctor(IOptions`1 options, IDictionary`2 schemes)
|
||||
at lambda_method181(Closure, Object[])
|
||||
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
|
||||
at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass39_0.<OnActivated>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.<Execute>b__0()
|
||||
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func`1 creator)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable`1 qualifyingId, Func`1 creator)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.Core.Container.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
|
||||
at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType)
|
||||
at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)
|
||||
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
|
||||
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
|
||||
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.ReflectionMiddlewareBinder.CreateMiddleware(RequestDelegate next)
|
||||
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
|
||||
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
|
||||
2024-02-22 16:23:43.702 +08:00 [FTL] NPin-Framework (Abp.vNext) 爆炸!
|
||||
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider.
|
||||
---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Authentication.AuthenticationOptions])' on type 'AuthenticationSchemeProvider'.
|
||||
---> System.InvalidOperationException: Scheme already exists: Bearer
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationOptions.AddScheme(String name, Action`1 configureBuilder)
|
||||
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
|
||||
at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value()
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider..ctor(IOptions`1 options, IDictionary`2 schemes)
|
||||
at lambda_method181(Closure, Object[])
|
||||
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
|
||||
at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass39_0.<OnActivated>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.<Execute>b__0()
|
||||
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func`1 creator)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable`1 qualifyingId, Func`1 creator)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.Core.Container.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
|
||||
at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType)
|
||||
at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)
|
||||
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
|
||||
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
|
||||
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.ReflectionMiddlewareBinder.CreateMiddleware(RequestDelegate next)
|
||||
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
|
||||
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
|
||||
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
|
||||
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
|
||||
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
|
||||
at Program.<Main>$(String[] args) in D:\Projects\.NetCore\NPin\src\NPin.Web\Program.cs:line 33
|
||||
2024-02-22 16:24:56.510 +08:00 [ERR] An unhandled exception has occurred while executing the request.
|
||||
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware -> Volo.Abp.MultiTenancy.TenantConfigurationProvider -> NPin.Framework.TenantManagement.Domain.TenantStore.
|
||||
---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'NPin.Framework.TenantManagement.Domain.TenantStore' can be invoked with the available services and parameters:
|
||||
Cannot resolve parameter 'NPin.Framework.TenantManagement.Domain.ISqlSugarTenantRepository tenantRepository' of constructor 'Void .ctor(NPin.Framework.TenantManagement.Domain.ISqlSugarTenantRepository, Volo.Abp.MultiTenancy.ICurrentTenant, Volo.Abp.Caching.IDistributedCache`1[NPin.Framework.TenantManagement.Domain.TenantCacheItem])'.
|
||||
|
||||
See https://autofac.rtfd.io/help/no-constructors-bindable for more info.
|
||||
at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass39_0.<OnActivated>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
|
||||
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType)
|
||||
at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetRequiredService(Type serviceType)
|
||||
at Microsoft.AspNetCore.Http.MiddlewareFactory.Create(Type middlewareType)
|
||||
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
|
||||
--- End of stack trace from previous location ---
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
|
||||
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
|
||||
2024-02-22 16:24:58.096 +08:00 [ERR] An unhandled exception has occurred while executing the request.
|
||||
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware -> Volo.Abp.MultiTenancy.TenantConfigurationProvider -> NPin.Framework.TenantManagement.Domain.TenantStore.
|
||||
---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'NPin.Framework.TenantManagement.Domain.TenantStore' can be invoked with the available services and parameters:
|
||||
Cannot resolve parameter 'NPin.Framework.TenantManagement.Domain.ISqlSugarTenantRepository tenantRepository' of constructor 'Void .ctor(NPin.Framework.TenantManagement.Domain.ISqlSugarTenantRepository, Volo.Abp.MultiTenancy.ICurrentTenant, Volo.Abp.Caching.IDistributedCache`1[NPin.Framework.TenantManagement.Domain.TenantCacheItem])'.
|
||||
|
||||
See https://autofac.rtfd.io/help/no-constructors-bindable for more info.
|
||||
at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass39_0.<OnActivated>b__0(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
--- End of inner exception stack trace ---
|
||||
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
|
||||
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext context)
|
||||
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext context)
|
||||
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
|
||||
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
|
||||
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
|
||||
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
|
||||
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
|
||||
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType)
|
||||
at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetRequiredService(Type serviceType)
|
||||
at Microsoft.AspNetCore.Http.MiddlewareFactory.Create(Type middlewareType)
|
||||
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
|
||||
--- End of stack trace from previous location ---
|
||||
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
|
||||
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue