我正在构建一个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)
答案 0 :(得分:0)
在我打印LoaderExceptions之后,它显示缺少这两个库: