title: Caused by: java.lang.IllegalAccessError: class com.spire.xls.packages.sprRFA (in module spire.xls.free) cannot access class
body: <p>I am getting an exception and I can't find the reason of it. The exception I get is :</p>
  <blockquote>
  <p>Caused by: java.lang.IllegalAccessError: class com.spire.xls.packages.sprRFA (in module spire.xls.free) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to module spire.xls.free</p>
  </blockquote>
  <pre><code>@FXML
  public void OnCreateFile(ActionEvent actionEvent) {
  
      String po1 = Word.getText();
      String[] ss1 = po1.split(&quot; &quot;);
      String po2 = Output.getText();
      String[] ss2 = po2.split(&quot; &quot;);
  
  
      Workbook workbook = new Workbook();
  
      Worksheet sheet = workbook.getWorksheets().get(0);
      sheet.insertArray(ss1, 0, 0, true);
      sheet.insertArray(ss2, 0, 1, true);
  
      workbook.saveToFile(&quot;dictionary.xlsx&quot;, ExcelVersion.Version2016);
  }
  </code></pre>
  <p>Any help? Also would like to know is there any other way to export array in Excel document using Java.</p>