Skip to content

Commit

Permalink
Update index.cfm
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 24, 2024
1 parent ab01d77 commit 7e57ace
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions custom/jar-conflict/index.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,19 @@
// Bad type on operand stack Exception calling poi
// due to loading jars already loaded via context/lib
workBook = CreateObject(
"java",
"org.apache.poi.hssf.usermodel.HSSFWorkbook",
poiJarPaths
).Init();
function loadWorkBook(){
var workBook = CreateObject(
"java",
"org.apache.poi.hssf.usermodel.HSSFWorkbook",
poiJarPaths
).Init();
}
loadWorkBook();
arr = [];
arraySet( arr,1, 100, true);
arrayEach( arr, loadWorkBook, true);
</cfscript>

0 comments on commit 7e57ace

Please sign in to comment.