Article 5BQKG Jsp program not resolving StringUtils.isNumeric()

Jsp program not resolving StringUtils.isNumeric()

by
mfoley
from LinuxQuestions.org on (#5BQKG)
What am I doing wrong? I have:
Code:<%@ page import="org.apache.commons.lang3.StringUtils.*" %>
:
if (!StringUtils.isNumeric(ma[1])) ma[1] = 0;The class definition https://commons.apache.org/proper/co....CharSequence- requires org.apache.commons.lang3.StringUtils, which I've included.

I've downloaded commons-lang3-3.11.jar from https://commons.apache.org/proper/co...nload_lang.cgi. I've put that in $CATALINA_HOME/lib and added it to my CLASSPATH in /etc/profile.d/tomcat.sh. I've restarted tomcat (version 8.5.11). But I get:
Code:An error occurred at line: 538 in the jsp file: /updateWeb.jsp
StringUtils cannot be resolvedlatest?d=yIl2AUoC8zA latest?i=73jetgu89Kg:S09FI46gaBs:F7zBnMy latest?i=73jetgu89Kg:S09FI46gaBs:V_sGLiP latest?d=qj6IDK7rITs latest?i=73jetgu89Kg:S09FI46gaBs:gIN9vFw73jetgu89Kg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments