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

NoFactoryAvailableException when invoking component-list ssh command

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.2, 2.19.0
    • Component/s: camel-spring-boot
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: