On Thu, May 5, 2011 at 11:47 AM, Muhammad Ichsan <[email protected]> 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: [email protected] 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/
