錯誤StatusLogger無法找到配置LoggerContextFactory org.mule.runtime.module.launcher.log4j2.MuleLog4jContextFactory
錯誤StatusLogger org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory無法加載類
. lang。ClassCastException:類org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
java.lang.Class.asSubclass (Class.java: 3404)
com.databricks.client.jdbc42.internal.apache.logging.log4j.core.config.ConfigurationFactory.addFactory (ConfigurationFactory.java: 227)
com.databricks.client.jdbc42.internal.apache.logging.log4j.core.config.ConfigurationFactory.getInstance (ConfigurationFactory.java: 169)
com.databricks.client.jdbc42.internal.apache.logging.log4j.core.LoggerContext.reconfigure (LoggerContext.java: 695)
com.databricks.client.jdbc42.internal.apache.logging.log4j.core.LoggerContext.reconfigure (LoggerContext.java: 716)
com.databricks.client.jdbc42.internal.apache.logging.log4j.core.LoggerContext.start (LoggerContext.java: 270)
com.databricks.client.jdbc42.internal.apache.logging.log4j.core.impl.Log4jContextFactory.getContext (Log4jContextFactory.java: 155)
在com.databricks.client.jdbc42.internal.apache.logging.log4j.core.impl.Log4jContextFactory.getContext (Log4jContextFactory.java: 47)
com.databricks.client.jdbc42.internal.apache.logging.log4j.LogManager.getContext (LogManager.java: 196)
com.databricks.client.jdbc42.internal.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext (AbstractLoggerAdapter.java: 137)
com.databricks.client.jdbc42.internal.apache.logging.slf4j.Log4jLoggerFactory.getContext (Log4jLoggerFactory.java: 55)
在com.databricks.client.jdbc42.internal.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger (AbstractLoggerAdapter.java: 47)
com.databricks.client.jdbc42.internal.apache.logging.slf4j.Log4jLoggerFactory.getLogger (Log4jLoggerFactory.java: 33)
com.databricks.client.jdbc42.internal.slf4j.LoggerFactory.getLogger (LoggerFactory.java: 363)
com.databricks.client.jdbc42.internal.slf4j.LoggerFactory.getLogger (LoggerFactory.java: 388)
在com.databricks.client.jdbc42.internal.apache.arrow.memory.util.AssertionUtil。< clinit > (AssertionUtil.java: 26)
在com.databricks.client.jdbc42.internal.apache.arrow.memory.BaseAllocator。< clinit > (BaseAllocator.java: 48)
在com.databricks.client.spark.arrow.ArrowBuffer。< init >(未知源)
在com.databricks.client.spark.jdbc.SparkJDBC42Driver。createArrowBuffer(未知來源)
在com.databricks.client.hivecommon.api.HS2Client。makeRowsetBuffer(未知來源)
在com.databricks.client.hivecommon.dataengine.BackgroundFetcher。< init >(未知源)
在com.databricks.client.hivecommon.dataengine.HiveJDBCResultSet。moveToNextRow(未知來源)
com.databricks.client.jdbc.common.BaseForwardResultSet.next(未知源)
在org.mule.db.commons.shaded.internal.result.resultset.ResultSetIterator.hasNext (ResultSetIterator.java: 49)
在1.美元org.mule.db.commons.shaded.internal.operation.DmlOperations getpage (DmlOperations.java: 153)
在1.美元org.mule.db.commons.shaded.internal.operation.DmlOperations getpage (DmlOperations.java: 141)
org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderWrapper.getPage (PagingProviderWrapper.java: 79)
org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.withConnection (PagingProviderProducer.java: 157)
org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.withConnection (PagingProviderProducer.java: 150)
在org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.lambda performWithConnection 1美元(PagingProviderProducer.java: 123)
在net.jodah.failsafe.Functions.lambda promiseOfStage 8美元(Functions.java: 193)
在net.jodah.failsafe.internal.executor.RetryPolicyExecutor 1.美元調用(RetryPolicyExecutor.java: 101)
在net.jodah.failsafe.internal.executor.RetryPolicyExecutor.lambda supplyAsync 1美元(RetryPolicyExecutor.java: 133)
在net.jodah.failsafe.Functions.lambda零1美元(Functions.java: 69)
org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.synchronousSchedule (ConditionalExecutorServiceDecorator.java: 181)
org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.schedule (ConditionalExecutorServiceDecorator.java: 167)
在net.jodah.failsafe.Functions.lambda makeAsync 2美元(Functions.java: 79)
net.jodah.failsafe.AsyncExecution.executeAsync (AsyncExecution.java: 174)
net.jodah.failsafe.FailsafeExecutor.callAsync (FailsafeExecutor.java: 346)
net.jodah.failsafe.FailsafeExecutor.getStageAsync (FailsafeExecutor.java: 178)
org.mule.runtime.core.internal.retry.policies.SimpleRetryPolicy.applyPolicy (SimpleRetryPolicy.java: 90)
org.mule.runtime.core.api.retry.policy.RetryPolicyTemplate.applyPolicy (RetryPolicyTemplate.java: 143)
org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.performWithConnection (PagingProviderProducer.java: 122)
org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.produce (PagingProviderProducer.java: 100)
org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.produce (PagingProviderProducer.java: 54)
org.mule.runtime.core.api.streaming.iterator.ListConsumer.loadNextPage (ListConsumer.java: 81)
在org.mule.runtime.module.extension.internal.runtime.operation.OperationMessageProcessorBuilder.lambda transformPagingDelegate 0美元(OperationMessageProcessorBuilder.java: 93)
在org.mule.runtime.core.api.util.func.CheckedBiFunction.apply (CheckedBiFunction.java: 19)
org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator TransformingExecutionCallbackDecorator.complete美元(DefaultExecutionMediator.java: 337)
在org.mule.runtime.module.extension.internal.runtime.execution.CompletableMethodOperationExecutor.doExecute (CompletableMethodOperationExecutor.java: 26)
org.mule.runtime.module.extension.internal.runtime.execution.AbstractCompletableMethodOperationExecutor.execute (AbstractCompletableMethodOperationExecutor.java: 61)
org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.executeCommand (DefaultExecutionMediator.java: 237)
在org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.lambda executeWithInterceptors 6美元(DefaultExecutionMediator.java: 219)
在org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.lambda executeWithRetry 2美元(DefaultExecutionMediator.java: 197)
在net.jodah.failsafe.Functions.lambda promiseOfStage 8美元(Functions.java: 193)
在net.jodah.failsafe.internal.executor.RetryPolicyExecutor 1.美元調用(RetryPolicyExecutor.java: 101)
在net.jodah.failsafe.internal.executor.RetryPolicyExecutor.lambda supplyAsync 1美元(RetryPolicyExecutor.java: 133)
在net.jodah.failsafe.Functions.lambda零1美元(Functions.java: 69)
org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.synchronousSchedule (ConditionalExecutorServiceDecorator.java: 181)
org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.schedule (ConditionalExecutorServiceDecorator.java: 167)
在net.jodah.failsafe.Functions.lambda makeAsync 2美元(Functions.java: 79)
net.jodah.failsafe.AsyncExecution.executeAsync (AsyncExecution.java: 174)
net.jodah.failsafe.FailsafeExecutor.callAsync (FailsafeExecutor.java: 346)
net.jodah.failsafe.FailsafeExecutor.getStageAsync (FailsafeExecutor.java: 178)
org.mule.runtime.core.internal.retry.policies.SimpleRetryPolicy.applyPolicy (SimpleRetryPolicy.java: 90)
org.mule.runtime.core.api.retry.policy.RetryPolicyTemplate.applyPolicy (RetryPolicyTemplate.java: 143)
org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.executeWithRetry (DefaultExecutionMediator.java: 195)
org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.executeWithInterceptors (DefaultExecutionMediator.java: 219)
在org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.lambda執行1美元(DefaultExecutionMediator.java: 130)
org.mule.runtime.core.internal.execution.ExecuteCallbackInterceptor.execute (ExecuteCallbackInterceptor.java: 15)
org.mule.runtime.core.internal.execution.BeginAndResolveTransactionInterceptor.execute (BeginAndResolveTransactionInterceptor.java: 76)
org.mule.runtime.core.internal.execution.SuspendXaTransactionInterceptor.execute (SuspendXaTransactionInterceptor.java: 46)
org.mule.runtime.core.internal.execution.ValidateTransactionalStateInterceptor.execute (ValidateTransactionalStateInterceptor.java: 43)
在org.mule.runtime.core.internal.execution.IsolateCurrentTransactionInterceptor.execute (IsolateCurrentTransactionInterceptor.java: 37)
org.mule.runtime.core.api.execution.TransactionalExecutionTemplate.execute (TransactionalExecutionTemplate.java: 139)
org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.withExecutionTemplate (DefaultExecutionMediator.java: 313)
在
@Uppala Deexith:
這個錯誤信息表明有一個問題與日誌配置您的應用程序。它看起來像你的應用程序試圖使用Log4j2日誌記錄,但不能定位LoggerContextFactory。這可能是由缺失或錯誤配置的log4j2造成的。xml文件,或者通過Log4j2圖書館本身的問題。
這裏有一些步驟你可以嚐試解決這個問題: