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

Details

    • Bug
    • Resolution: Unresolved
    • 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`
    • ---
    • ---

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: