Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10308

Spring boot app didn't start after migration to 7.11.0-alpha4

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L2 - Critical L2 - Critical
    • None
    • None
    • spring-boot
    • None

      After migrating this spring boot app: https://github.com/nevries/twitter-spring-boot/tree/master/twitter from 7.10 to 7.11.0-alpha4 by changing the version in the pom.xml only (Line 12), the application refuses to start:

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
      

      Find the complete log attached.

      The dependency to commons-lang is missing.

      After adding

      <dependency>
          <groupId>commons-lang</groupId>
          <artifactId>commons-lang</artifactId>
          <version>2.6</version>
      </dependency>
      

      the engine starts.

      Shouldn't this dependency either be resolved by the spring-boot-starter or be documented in the migration instruction?

        This is the controller panel for Smart Panels app

            [CAM-10308] Spring boot app didn't start after migration to 7.11.0-alpha4

            Hi ingo.richtsmeier,

            We removed the commons-lang dependency with CAM-9156.
            You should update the spring-boot-starter dependency to 3.3 to be compatible with 7.11

            Cheers,
            Miklas

            Miklas Boskamp added a comment - Hi ingo.richtsmeier , We removed the commons-lang dependency with CAM-9156 . You should update the spring-boot-starter dependency to 3.3 to be compatible with 7.11 Cheers, Miklas

            Hi miklas.boskamp,

            thank you for the clarification.

            As it's already documented here: https://stage.docs.camunda.org/manual/develop/user-guide/spring-boot-integration/version-compatibility/, I will close this issue.

            See you, Ingo

            Ingo Richtsmeier added a comment - Hi miklas.boskamp , thank you for the clarification. As it's already documented here: https://stage.docs.camunda.org/manual/develop/user-guide/spring-boot-integration/version-compatibility/ , I will close this issue. See you, Ingo

              miklas.boskamp Miklas Boskamp
              ingo.richtsmeier Ingo Richtsmeier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: