title: openshift: maven compiler error : Base64 can not find the symbol
body: <p>I am deploying webapp to the openshift cloud.</p>
  
  <p>While compiling the resources by maven automatically after deploying, it shows <code>Base64: symbol not found</code>
  However when I maven compile it on my Pc, their are no errors and build is successfull. I tried to change <code>Base64</code> from <code>java.util</code> to <code>apache.commons.codecs</code>. The error is still there while deploying and it successfully runs at my local machine</p>
  
  <p>Following is the <code>pom.xml</code></p>
  
  <pre><code>           &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5.1&lt;/version&gt;
              &lt;inherited&gt;true&lt;/inherited&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.7&lt;/source&gt;
                  &lt;target&gt;1.7&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  
   &lt;dependencies&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;commons-codec&lt;/groupId&gt;
          &lt;artifactId&gt;commons-codec&lt;/artifactId&gt;
          &lt;version&gt;1.4&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <blockquote>
    <p>Should I place the commons-codec jar in WEB_INF directory. i read the solution somewhere but was not sure about it.
    please suggest a solution. Thank you</p>
  </blockquote>
  
  <pre><code>&lt;/dependencies&gt;
  </code></pre>