You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Muhammad Ichsan <ic...@gmail.com> on 2011/05/05 11:47:38 UTC
Exception during testing
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"
Thanks
--
~The best men are men who benefit to others
http://michsan.web.id 一緒に勉強しましょう!
Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com
Re: Exception during testing
Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, May 5, 2011 at 11:47 AM, Muhammad Ichsan <ic...@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/