Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9442

Build fails when the workflow file and its referenced specs are inside a folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Examples
    • None
    • False
    • None
    • False
    • Hide

      1. Clone https://github.com/krisv/kogito-serverless-workflow-helloworld
      2. Create a new folder inside `src/main/resources`
      3. Move `workflow-service.sw.json` and `specs` folder to the newly created folder
      Note that relative references to `specs` are kept inside the workflow
      4. Run quarkus dev

      Build fails: `InvocationTargetException: cannot find classpath resource specs/workflow-service-openapi.json`

      Show
      1. Clone https://github.com/krisv/kogito-serverless-workflow-helloworld 2. Create a new folder inside `src/main/resources` 3. Move `workflow-service.sw.json` and `specs` folder to the newly created folder Note that relative references to `specs` are kept inside the workflow 4. Run quarkus dev Build fails: `InvocationTargetException: cannot find classpath resource specs/workflow-service-openapi.json`
    • ---
    • ---

      InvocationTargetException: cannot find classpath resource specs/workflow-service-openapi.json

              eignatow Eder Ignatowicz
              gcaponet Guilherme Caponetto
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: