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

camel-maven-plugin - Use configured main-class instead of KameletMain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.20.3
    • 3.20.4, 3.21.0, 4.0-M3, 4.0.0
    • tooling
    • None
    • Unknown

    Description

      [INFO] — camel-maven-plugin:3.20.3:run (default-cli) @ acme —
      [INFO] You can skip tests from the command line using: mvn camel:run -Dmaven.test.skip=true
      [INFO] Kamelets YAML files detected in directory /Users/davsclaus/workspace/deleteme/java-jar/code/src/main/resources/kamelets
      [INFO] Using org.apache.camel.main.KameletMain to initiate a CamelContext
      [INFO] Starting Camel ...
      [ERROR] *************************************
      [ERROR] Error occurred while running main from: org.apache.camel.main.KameletMain
      [ERROR]
      java.lang.ClassNotFoundException: org.apache.camel.main.KameletMain

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: