ServiceMix
  1. ServiceMix
  2. SMXCOMP-441 NoClassDefFoundError: org/aopalliance/intercept/MethodInvocation
  3. SM-1145

NoClassDefFound (org.springframework.aop.support.AopUtils) when deploying the Camel example

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1, 3.3
    • Component/s: servicemix-camel
    • Labels:
      None

      Description

      The Camel example (cfr. http://servicemix.apache.org/camel-example.html) fails to deploy on ServiceMix 3.2 due to a NoClassDefFoundError.
      Have a look at http://www.nabble.com/Unable-to-deploy-Camel-example-in-ServiceMix-3.2-tf4750870.html#a13725898 for more information.

        Issue Links

          Activity

          Hide
          Gert Vanthienen added a comment -

          I would suggest to add spring-aop-2.0.6 to the /lib folder of the ServiceMix distribution instead of to the Camel JBI component. Not only does this solve this issue, it also allows us to remove the jar file from several other components (HTTP, JMS, Script).

          Shouldn't we add the Camel example itself to the distribution as well?

          Show
          Gert Vanthienen added a comment - I would suggest to add spring-aop-2.0.6 to the /lib folder of the ServiceMix distribution instead of to the Camel JBI component. Not only does this solve this issue, it also allows us to remove the jar file from several other components (HTTP, JMS, Script). Shouldn't we add the Camel example itself to the distribution as well?
          Hide
          james strachan added a comment -

          Sounds good to me Gert

          Show
          james strachan added a comment - Sounds good to me Gert
          Hide
          Guillaume Nodet added a comment -

          Gert, do you plan to fix that for 3.2.1 (asap) ?

          Show
          Guillaume Nodet added a comment - Gert, do you plan to fix that for 3.2.1 (asap) ?
          Show
          Gert Vanthienen added a comment - http://svn.apache.org/viewvc?view=rev&revision=597487 http://svn.apache.org/viewvc?view=rev&revision=597501
          Hide
          Gert Vanthienen added a comment -
          Show
          Gert Vanthienen added a comment - And these two commits add the camel example to the distribution: http://svn.apache.org/viewvc?view=rev&revision=597609 http://svn.apache.org/viewvc?view=rev&revision=597621

            People

            • Assignee:
              Unassigned
              Reporter:
              Gert Vanthienen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development