Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10063

Camel on Karaf 4.0.5: java.lang.NoClassDefFoundError: org/apache/karaf/util/StringEscapeUtils

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.18.0
    • 2.18.0
    • None
    • None
    • Karaf 4.0.5, Linux, JDK 1.8.0_72

    • Unknown

    Description

      Stock Karaf, unpacked, started via bin/karaf, repo-add camel + Features camel-quartz2 and camel-blueprint (2.18.0.SNAPSHOT).

      Deployed a blueprint with a Camel route. Shell shows the following error on issuing this command:
      karaf@root()> camel:route-info route1
      Error executing command: org/apache/karaf/util/StringEscapeUtils

      Log:

      java.lang.NoClassDefFoundError: org/apache/karaf/util/StringEscapeUtils
      at org.apache.camel.karaf.commands.internal.StringEscape.unescapeJava(StringEscape.java:25)
      at org.apache.camel.commands.RouteInfoCommand.executeOnRoute(RouteInfoCommand.java:52)
      at org.apache.camel.commands.AbstractRouteCommand.execute(AbstractRouteCommand.java:56)
      at org.apache.camel.karaf.commands.RouteInfo.doExecute(RouteInfo.java:35)
      at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:34)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.compat.CommandTracker$1.execute(CommandTracker.java:112)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.5]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_72]

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            mdo Manfred Dohmen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment