Right, you can let Text transitively bring in Lang. Gary
On Mon, Oct 30, 2023 at 7:56 AM Alex Herbert <alex.d.herb...@gmail.com> wrote: > > On Mon, 30 Oct 2023 at 09:40, Greg Huber <gregh3...@gmail.com> wrote: > > > > Hello, > > > > Upgrading commons-text to 1.11.0, I get now this error > > > > SEVERE: Servlet.service() for servlet [PageServlet] threw exception > > > > java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range > > org.apache.commons.lang3.Range.of(java.lang.Comparable, > > java.lang.Comparable)' > > > > at > > org.apache.commons.text.translate.NumericEntityEscaper.<init>(NumericEntityEscaper.java:97) > > > > at > > org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscaper.java:59) > > > > at > > org.apache.commons.text.StringEscapeUtils.<clinit>(StringEscapeUtils.java:271) > > > > calling org.apache.commons.text.StringEscapeUtils.escapeHtml4(str); > > > > the jar I have is: > > > > commons-lang3-3.12.0.jar > > > > Is there anything I need to do here? > > Commons Text 1.11.0 depends on Commons Lang 3.13.0 [1]. > > Try upgrading Commons Lang and see if this resolves your issue. > > [1] https://commons.apache.org/proper/commons-text/dependencies.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org