-
Type:
Bug Report
-
Resolution: Fixed
-
Priority:
L2 - Critical
-
None
-
Affects Version/s: None
-
Component/s: 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?