我正在构建一个 Nesper 应用程序,部署后它会抛出此错误:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at com.espertech.esper.script.ScriptingServiceImpl.DiscoverEngines(Assembly assembly, Predicate`1 isEngine)
at com.espertech.esper.script.ScriptingServiceImpl.DiscoverEngines(Predicate`1 isEngine)
at com.espertech.esper.core.service.EPServicesContextFactoryDefault.CreateServicesContext(EPServiceProvider epServiceProvider, ConfigurationInformation configSnapshot)
at com.espertech.esper.core.service.EPServiceProviderImpl.DoInitialize(Nullable`1 startTime)
at com.espertech.esper.core.service.EPServiceProviderImpl..ctor(Configuration configuration, String engineURI, IDictionary`2 runtimes)
at com.espertech.esper.client.EPServiceProviderManager.GetProvider(String providerURI, Configuration configuration)