esb异常20160322_1948

异常1. Failed to find entry point for component, the following resolvers tried but failed: [

2016-03-22 16:46:44,362>>ERROR>> com.isoftstone.esb.transformer.Json2RequestBusinessObject.transformMessage(Json2RequestBusinessObject.java:63) - syntax error, expect {, actual error, pos 0

2016-03-22 16:46:44,364>>ERROR>> org.mule.exception.AbstractExceptionListener.logException(AbstractExceptionListener.java:311) -

********************************************************************************

Message               : Failed to find entry point for component, the following resolvers tried but failed: [

ExplicitMethodEntryPointResolver: Could not find entry point on: "com.isoftstone.core.service.impl.PayResultCallback2V5IMPL" with arguments: "{}"

]

Code                  : MULE_ERROR-321

--------------------------------------------------------------------------------

Exception stack is:

1. Failed to find entry point for component, the following resolvers tried but failed: [

ExplicitMethodEntryPointResolver: Could not find entry point on: "com.isoftstone.core.service.impl.PayResultCallback2V5IMPL" with arguments: "{}"

] (org.mule.model.resolvers.EntryPointNotFoundException)

org.mule.model.resolvers.DefaultEntryPointResolverSet:49 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/model/resolvers/EntryPointNotFoundException.html)

--------------------------------------------------------------------------------

Root Exception stack trace:

org.mule.model.resolvers.EntryPointNotFoundException: Failed to find entry point for component, the following resolvers tried but failed: [

ExplicitMethodEntryPointResolver: Could not find entry point on: "com.isoftstone.core.service.impl.PayResultCallback2V5IMPL" with arguments: "{}"

]

at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:49)

at org.mule.component.DefaultComponentLifecycleAdapter.invoke(DefaultComponentLifecycleAdapter.java:339)

at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:82)

+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)

********************************************************************************

原因本来外围传的是xml格式的,我却用了Json2RequestBusinessObject

<!-- 支付平台支付结果回调核心-->

<flow name="0202000005_V1" doc:name="0202000005_V1">

<http:inbound-endpoint

address="http://${http.address.ip}:${http.address.port}/0202000005/PayResultCallback2V5/V1"

exchange-pattern="request-response" doc:name="HTTP" />

<transformer ref="Json2RequestBusinessObject" doc:name="Transformer Reference" />

<component doc:name="Java">

<method-entry-point-resolver>

<include-entry-point method="invoke" />

</method-entry-point-resolver>

<spring-object bean="payResultCallback2V5" />

</component>

<transformer ref="ResponseBusinessObject2Json" doc:name="Transformer Reference" />

</flow>

解决方案 transformer改成如下: String2MuleMessage

<!-- 支付平台支付结果回调核心-->

<flow name="0202000005_V1" doc:name="0202000005_V1">

<http:inbound-endpoint

address="http://${http.address.ip}:${http.address.port}/0202000005/PayResultCallback2V5/V1"

exchange-pattern="request-response" doc:name="HTTP" />

<transformer ref="MuleMessage2String" doc:name="Transformer Reference" />

<component doc:name="Java">

<method-entry-point-resolver>

<include-entry-point method="invoke" />

</method-entry-point-resolver>

<spring-object bean="payResultCallback2V5" />

</component>

<transformer ref="String2MuleMessage" doc:name="Transformer Reference" />

</flow>

上一篇:[转]ubuntu搭建LAMP环境


下一篇:基于4.5Framework web程序、SQLSERVER数据库打包