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

camel-jbang - Using --deps cannot download

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.17.0
    • 3.17.0
    • camel-jbang
    • None
    • Unknown

    Description

      2022-05-04 14:18:15.871  INFO 68644 --- [           main] org.apache.camel.main.MainSupport        : Using Java 11.0.13 with PID 68644. Started by davsclaus in /Users/davsclaus/workspace/camel-kamelets-examples/jbang/hello-java
      java.lang.RuntimeException: No suitable ClassLoader found for grab
      	at groovy.grape.GrapeIvy.chooseClassLoader(GrapeIvy.groovy:179)
      	at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:249)
      	at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:236)
      	at groovy.grape.Grape.grab(Grape.java:153)
      	at org.apache.camel.main.DownloaderHelper.downloadDependency(DownloaderHelper.java:71)
      	at org.apache.camel.main.CommandLineDependencyDownloader.downloadDependencies(CommandLineDependencyDownloader.java:66)
      	at org.apache.camel.main.CommandLineDependencyDownloader.doInit(CommandLineDependencyDownloader.java:47)
      	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
      	at org.apache.camel.support.service.ServiceHelper.initService(ServiceHelper.java:84)
      	at org.apache.camel.impl.engine.AbstractCamelContext.internalAddService(AbstractCamelContext.java:1553)
      	at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1498)
      	at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1493)
      	at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1488)
      	at org.apache.camel.main.KameletMain.createCamelContext(KameletMain.java:263)
      	at org.apache.camel.main.MainSupport.initCamelContext(MainSupport.java:399)
      	at org.apache.camel.main.KameletMain.doInit(KameletMain.java:161)
      	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
      	at org.apache.camel.support.service.BaseService.start(BaseService.java:111)
      	at org.apache.camel.dsl.jbang.core.commands.Run.run(Run.java:505)
      	at org.apache.camel.dsl.jbang.core.commands.Run.call(Run.java:165)
      	at org.apache.camel.dsl.jbang.core.commands.Run.call(Run.java:65)
      	at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
      	at picocli.CommandLine.access$1300(CommandLine.java:145)
      	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
      	at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
      	at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
      	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
      	at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
      	at picocli.CommandLine.execute(CommandLine.java:2078)
      	at org.apache.camel.dsl.jbang.core.commands.CamelJBangMain.run(CamelJBangMain.java:53)
      	at main.CamelJBang.main(CamelJBang.java:37)
      

      Attachments

        Activity

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

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment