camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Exception during testing
Date Thu, 05 May 2011 10:48:49 GMT
On Thu, May 5, 2011 at 11:47 AM, Muhammad Ichsan <ichsan@gmail.com> wrote:
> Hi
>
> Does anyone know why this happens?
>
> org.apache.camel.RuntimeCamelException:
> java.lang.IllegalAccessException: Class
> org.apache.camel.component.bean.MethodInfo can not access a member of
> class id.web.michsan.xt.route.CommonEndpointRouteBuilder$1 with
> modifiers "public"
>

You have an inner class in CommonEndpointRouteBuilder. And for Camel
to be able to invoke and use that class, that class must be public.


> Thanks
>
> --
> ~The best men are men who benefit to others
> http://michsan.web.id 一緒に勉強しましょう!
>
> Yang berkualitas memang beda rasanya!
> http://rizqi-cookies.com
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
CamelOne 2011: http://fusesource.com/camelone2011/
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message