0
我在使用Dynamica在mule esb和servlet中創建war文件並在tomcat中部署,當我運行它時出現以下錯誤:java.lang.NoClassDefFoundError:嘗試使用動態Axel連接器時的org/mule/streaming/ProviderAwarePagingDelegate
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.lang.NoClassDefFoundError: org/mule/streaming/ProviderAwarePagingDelegate
org.mule.modules.msdynamicsax.generated.connectivity.MsDynamicsAxConnectorGatewayConnectionConfigConnectionManagementConnectionManager.newConnector(MsDynamicsAxConnectorGatewayConnectionConfigConnectionManagementConnectionManager.java:393)
org.mule.devkit.3.8.1.internal.connection.management.ConnectionManagementConnectorFactory.makeObject(ConnectionManagementConnectorFactory.java:50)
org.mule.devkit.3.8.1.internal.connection.management.ConnectionManagementConnectorFactory.makeObject(ConnectionManagementConnectorFactory.java:19)
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
org.mule.modules.msdynamicsax.generated.connectivity.MsDynamicsAxConnectorGatewayConnectionConfigConnectionManagementConnectionManager.acquireConnection(MsDynamicsAxConnectorGatewayConnectionConfigConnectionManagementConnectionManager.java:293)
org.mule.modules.msdynamicsax.generated.connectivity.MsDynamicsAxConnectorGatewayConnectionConfigConnectionManagementConnectionManager.acquireConnection(MsDynamicsAxConnectorGatewayConnectionConfigConnectionManagementConnectionManager.java:61)
org.mule.devkit.3.8.1.internal.connection.management.ConnectionManagementProcessInterceptor.execute(ConnectionManagementProcessInterceptor.java:48)
org.mule.devkit.3.8.1.internal.connection.management.ConnectionManagementProcessInterceptor.execute(ConnectionManagementProcessInterceptor.java:23)
org.mule.security.oauth.process.RetryProcessInterceptor.execute(RetryProcessInterceptor.java:84)
org.mule.devkit.3.8.1.internal.connection.management.ConnectionManagementProcessTemplate.execute(ConnectionManagementProcessTemplate.java:36)
org.mule.modules.msdynamicsax.generated.processors.InvokeDocumentServiceOperationMessageProcessor.doProcess(InvokeDocumentServiceOperationMessageProcessor.java:119)
org.mule.devkit.processor.DevkitBasedMessageProcessor.process(DevkitBasedMessageProcessor.java:88)
我曾嘗試使用以下依賴嘗試,但它給了我HTTP錯誤404
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-devkit-support</artifactId>
<version>3.7.2</version>
<scope>provided</scope>
</dependency>
仍然無法正常工作,它給了我404錯誤 – anjali
@anjali,獲得404是一種不同類型的錯誤。這是不一樣的問題提到你的問題。這意味着你寫的代碼有問題。但是你原來的java.lang.NoClassDefFoundError問題已經解決了。 –