Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Unhandled Exception: System.IO.FileNotFoundException: The configuration file 'conf/appsettings.json' was not found and is not optional. The physical path is '/app/conf/appsettings.json'.
- at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
- at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
- at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
- at warehouse.api.Startup..ctor(IHostingEnvironment env) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Startup.cs:line 66
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
- at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName)
- at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp)
- at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
- at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup()
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
- at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
- at warehouse.api.Program.Main(String[] args) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Program.cs:line 10
- Unhandled Exception: System.IO.FileNotFoundException: The configuration file 'conf/appsettings.json' was not found and is not optional. The physical path is '/app/conf/appsettings.json'.
- at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
- at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
- at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
- at warehouse.api.Startup..ctor(IHostingEnvironment env) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Startup.cs:line 66
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
- at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName)
- at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp)
- at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
- at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup()
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
- at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
- at warehouse.api.Program.Main(String[] args) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Program.cs:line 10
- Unhandled Exception: System.IO.FileNotFoundException: The configuration file 'conf/appsettings.json' was not found and is not optional. The physical path is '/app/conf/appsettings.json'.
- at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
- at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
- at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
- at warehouse.api.Startup..ctor(IHostingEnvironment env) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Startup.cs:line 66
- --- End of stack trace from previous location where exception was thrown ---
- at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
- at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName)
- at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp)
- at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
- at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup()
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
- at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
- at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
- at warehouse.api.Program.Main(String[] args) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Program.cs:line 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement