Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9045

Spring Boot Business Applications don't build on OpenShift 4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.34.0.Final
    • Business Apps
    • None
    • NEW
    • NEW
    • Hide

      1) Generate a default business application from https://start.jbpm.org
      2) Unzip the project
      3) Navigate into the `business-application-service` directory.
      4) Connect your OpenShift 4 "oc" client to your OpenShift cluster.
      5) Create a new project: oc new-project sb-business-application
      6) Make launch.sh executable: chmod 755 launch.sh
      7) Run: ./launch.sh clean install -Popenshift

      Show
      1) Generate a default business application from https://start.jbpm.org 2) Unzip the project 3) Navigate into the `business-application-service` directory. 4) Connect your OpenShift 4 "oc" client to your OpenShift cluster. 5) Create a new project: oc new-project sb-business-application 6) Make launch.sh executable: chmod 755 launch.sh 7) Run: ./launch.sh clean install -Popenshift

    Description

      Using a default application from https://start.jbpm.org, trying to run the:

      ./launch.sh clean install -Popenshift
      

      with an OpenShift 4 client connected to an OpenShift 4.2 cluster results in the following error:

      [ERROR] F8: Failed to execute the build [io.fabric8.kubernetes.client.DefaultKubernetesClient cannot be cast to io.fabric8.openshift.client.OpenShiftClient]
      

      Upgrading the fabric8-maven-plugin version to 4.x.x (e.g. the latest 4.4.0) resolves the issue.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-gps-ddoyle Duncan Doyle (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: