java - Runtime error when using StringUtils -


I'm using StringUtils in my Java code written in Intellij IDEA. My server resin is 3.1.9. I have no problem compiling the code, but when I ran it, I get the following Runtime exception:

com.caucho.java.JavaCompileException: /sample.jsp: 219: Symbol symbol can not be found: method starts unknown cache (java.lang.String, java.lang.String) Location: org.apache.commons.lang.StringUtils

Do I Am missing something?

Thank you

You said that you have no compile time error. But in reality this is a compile time error. You got it when your server tried to compile your JSP page, show the code of your JSP on line number 21 9

Most likely you do not have a commons-lang jar file in your classpath, that means you should add it to your application WEB-INF / lib < / Code>.


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -