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

NoFactoryAvailableException when invoking component-list ssh command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.18.2, 2.19.0
    • camel-spring-boot
    • None
    • Unknown

    Description

      When invoking component-list on a spring-boot shell, the command component-list throws the following error:

      2017-01-10 14:51:48.857 ERROR 16924 --- [pool-1-thread-4] o.crsh.shell.impl.command.CRaSHSession   : Error while evaluating request 'camel component-list camel-1' camel component-list camel-1: exception: Could not find factory class for resource: META-INF/services/org/apache/camel/component/bean-component
      
      org.apache.camel.NoFactoryAvailableException: Could not find factory class for resource: META-INF/services/org/apache/camel/component/bean-component
      	at org.apache.camel.impl.DefaultFactoryFinder.doFindFactoryProperties(DefaultFactoryFinder.java:140) ~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:78) ~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.impl.DefaultFactoryFinder.findClass(DefaultFactoryFinder.java:70) ~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.impl.DefaultCamelContext.getComponentParameterJsonSchema(DefaultCamelContext.java:1435) ~[camel-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.commands.AbstractLocalCamelController.listComponents(AbstractLocalCamelController.java:580) ~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.commands.ComponentListCommand.performContextCommand(ComponentListCommand.java:53) ~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) ~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) ~[camel-commands-core-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      	at org.apache.camel.springboot.commands.crsh.CamelCommandsFacade.runCommand(CamelCommandsFacade.java:95) ~[camel-commands-spring-boot-2.19.0-SNAPSHOT.jar:2.19.0-SNAPSHOT]
      

      Attachments

        Activity

          People

            lb Luca Burgazzoli
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: