title: Only a type can be imported. org.apache.commons.lang.StringUtils resolves to a package
body: <p>i'm new to JSP and i ran into the following problem: I had to modify an application to add some functionalities, i decided to use StringUtils to find strings between tags and it worked OK on my development environment with Tomcat 7, nevertheless, when i uploaded it to my hosting environment, with Tomcat 5.5 (i know i should use the same versions in the development environment, but i didn't know which version it was until recently) i get the error mentioned in the title, of course, whenever i call </p>
  
  <pre><code>StringUtils.substringBetween(a,b,c)
  </code></pre>
  
  <p>I also get errors, saying that the class cannot be resolved. Any help will be greatly appreciated.</p>
  
  <p>List of imports:</p>
  
  <pre><code>&lt;%@ page import="java.sql.*" %&gt;
  &lt;%@ page import="java.text.SimpleDateFormat" %&gt;
  &lt;%@ page import="java.util.Date" %&gt;
  &lt;%@ page import="java.security.MessageDigest" %&gt;
  &lt;%@ page import="sun.misc.*" %&gt;
  &lt;%@ page import="org.apache.commons.lang.StringUtils" %&gt; 
  </code></pre>
  
  <p>I have the commons-lang-2.6.jar as well as a customJar.jar in my WEB-INF/lib directory, there is also an import from customJar.jar, which seems to be OK...</p>
  
  <p>Thank you for your assistance, if i didn't provide enough information, i apologize for it and will provide as soon as i can in order to solve this problem.</p>