[
https://issues.apache.org/activemq/browse/SM-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37815
]
Guillaume Nodet commented on SM-800:
------------------------------------
This problem happens if you have deployed an old version of servicemix-shared.
Try deploying a recent version and it should fix the issue.
The reason is that the method signature has slightly changed at some point.
> jsr181 component, no such method "asList"
> -----------------------------------------
>
> Key: SM-800
> URL: https://issues.apache.org/activemq/browse/SM-800
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-jsr181
> Affects Versions: 3.1
> Environment: Im using linux, Im trying to deploy a jsr181component on
> lightweight
> Reporter: Eduardo Burgos
> Priority: Minor
>
> I got a NoSuchMethodException when servicemix was trying to call the method
> asList on the Jsr181Component class. I fixed it on my installation by
> replacing line 54 of
> /deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Component.java
> with
> "return DefaultComponent.asList(endpoints);"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira