获取 Report.Init() 迎风方法上的错误" The type initializer for 'java.util.Locale' threw an exception."



我正在使用.net core寻找迎风报告。错误。任何建议或

 public void ConfigureServices(IServiceCollection services)
        {
            // Initialize the engine. License and configuration settings in web.config.
            Configuration.GetSection("Windwardlicense");
            Report.Init();//getting error on this line
            services.Configure<CookiePolicyOptions>(options =>
            {
                // This lambda determines whether user consent for non-essential cookies is needed for a given request.
                options.CheckConsentNeeded = context => true;
                options.MinimumSameSitePolicy = SameSiteMode.None;
            });
            services.AddDbContext<ApplicationDbContext>(options =>
                options.UseSqlServer(
                    Configuration.GetConnectionString("DefaultConnection")));
            services.AddDefaultIdentity<IdentityUser>()
                .AddDefaultUI(UIFramework.Bootstrap4)
                .AddEntityFrameworkStores<ApplicationDbContext>();
            services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
        }

在此处输入图像描述

不幸的是,迎风产品尚不支持.NET CORE,但是您可以使用我们的Rentful引擎,该引擎必须托管在运行IIS的Windows Server上,它将回答帖子并从您的.NET核心应用程序。

如果您有更多疑问,请通过support@windwardstudios.com与Windward支持联系。

最新更新