title: Apache POI - CellStyle.ALIGN_RIGHT
body: <p>I am trying to align text.
  Here my pom.xml:</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
              &lt;version&gt;3.17&lt;/version&gt;
  &lt;/dependency&gt; 
  </code></pre>
  
  <p>in my code:</p>
  
  <pre><code>import org.apache.poi.ss.usermodel.CellStyle;
  </code></pre>
  
  <p>but when I want to use it (<code>CellStyle.ALIGN_RIGHT</code>) , I got this compilation error:</p>
  
  <p><a href="https://i.stack.imgur.com/LkWPl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LkWPl.png" alt="enter image description here"></a></p>