2 Replies Latest reply on Feb 15, 2008 7:28 AM by Adrian Trenaman

    Getting NoClassDefFoundError deploying a pojo...

    Adrian Trenaman Newbie

      Is anyone having problems linking POJOs into a flow? I've got a simple POJO that's got a method

       

      public void processCSV(MessageExchange exchange) throws MessagingException
      

       

       

      ...when I route a message to it, I get a NoClassDefFoundError (see below)

       

      $1@3dc831 got error processing InOnly[
        id: ID:10.5.1.96-1181c7598e5-9:0
        status: Active
        role: provider
        service: {http://www.iona.com/ps/file-play}FileParser
        endpoint: endpoint
        operation: processCSV
        in: null
      ]
      java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInvocation
              at org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java:130)
              at org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java:95)
              at org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java:69)
              at org.apache.servicemix.bean.BeanEndpoint.getBeanInfo(BeanEndpoint.java:173)
              at org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:237)
              at org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:200)
              at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
              at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
              at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
              at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
              at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
              at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
              at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
              at java.lang.Thread.run(Thread.java:619)
      

       

      Edited by: adrian.trenaman on Feb 15, 2008 6:53 AM