commons-text 1.11.0 with commons-lang3 3.13.0 still gives error java.lang.NoSuchMethodError

154 Views Asked by At

When I use commons-text 1.11.0 with the upgraded commons-lang3 3.14.0,

java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.text.StringEscapeUtils

When I use commons-text 1.11.0, despite the maven repo states it depends on commons-lang3 3.13.0, I get this error:

java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'

It only works when I use commons-text 1.10.0 with commons-lang3 3.12.0

Can anyone tell ne why it is so?

0

There are 0 best solutions below