用于oracle 11g数据库的旧ojdbc6 jar可以正常使用mule 3.5但是当我用oracle 12 c替换那个jar时,我在运行我的mule流时出现以下错误: 异常堆栈是: 1.无法找到类型ID的映射:0名称:null(org.mule.module.db.internal.domain.type.UnknownDbTypeException) org.mule.module.db.internal.domain.type.CompositeDbTypeManager:59(http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/module/db/internal/domain/type/UnknownDbTypeException.html) 2.无法找到类型ID的映射:0名称:null(org.mule.module.db.internal.domain.type.UnknownDbTypeException)。消息有效内容的类型为:String(org.mule.api.MessagingException) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32(http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)
Root异常堆栈跟踪: org.mule.module.db.internal.domain.type.UnknownDbTypeException:无法找到类型ID的映射:0名称:null at org.mule.module.db.internal.domain.type.CompositeDbTypeManager.lookup(CompositeDbTypeManager.java:59) at org.mule.module.db.internal.resolver.param.QueryParamTypeResolver.getParameterTypes(QueryParamTypeResolver.java:48) at org.mule.module.db.internal.resolver.param.DefaultParamTypeResolver.getParamTypesUsingMetadata(DefaultParamTypeResolver.java:74) at org.mule.module.db.internal.resolver.param.DefaultParamTypeResolver.getParameterTypes(DefaultParamTypeResolver.java:39) at org.mule.module.db.internal.domain.connection.AbstractDbConnection.getParamTypes(AbstractDbConnection.java:53) at org.mule.module.db.internal.resolver.query.ParametrizedQueryResolver.getParameterTypes(ParametrizedQueryResolver.java:68) at org.mule.module.db.internal.resolver.query.ParametrizedQueryResolver.resolve(ParametrizedQueryResolver.java:56) 在org.mule.module.db.internal.processor.AbstractSingleQueryDbMessageProcessor.executeQuery(AbstractSingleQueryDbMessageProcessor.java:38) 在org.mule.module.db.internal.processor.AbstractDbMessageProcessor.process(AbstractDbMessageProcessor.java:66) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:58) 在org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) 在org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.interceptor.AbstractEnvelopeInterceptor.process(AbstractEnvelopeInterceptor.java:51) at org.mule.processor.AsyncInterceptingMessageProcessor.processNextTimed(AsyncInterceptingMessageProcessor.java:118) at org.mule.processor.AsyncInterceptingMessageProcessor $ AsyncMessageProcessorWorker $ 1.process(AsyncInterceptingMessageProcessor.java:189) at org.mule.processor.AsyncInterceptingMessageProcessor $ AsyncMessageProcessorWorker $ 1.process(AsyncInterceptingMessageProcessor.java:182) 在org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:16) 在org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:30) 在org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:14) 在org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:54) 在org.mule.execution.ResolvePreviousTransactionInterceptor.execute(ResolvePreviousTransactionInterceptor.java:44) 在org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:50) 在org.mule.execution.ValidateTransactionalStateInterceptor.execute(ValidateTransactionalStateInterceptor.java:40) 在org.mule.execution.IsolateCurrentTransactionInterceptor.execute(IsolateCurrentTransactionInterceptor.java:41) 在org.mule.execution.ExternalTransactionInterceptor.execute(ExternalTransactionInterceptor.java:48) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:28) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:13) 在org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:109) 在org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:30) at org.mule.processor.AsyncInterceptingMessageProcessor $ AsyncMessageProcessorWorker.doRun(AsyncInterceptingMessageProcessor.java:181) 在org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:39) 在org.mule.work.WorkerContext.run(WorkerContext.java:286) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617) 在java.lang.Thread.run(Thread.java:745)