Excel Importer Import new template

1
Hi, I am using the excel importer in version 4.0.1 and i seem to be getting an error when i try to import an excel sheet to create the template. I am getting the following error: java.lang.NoClassDefFoundError: Could not initialize class An unhandled error occurred in the MxRuntime. -------- java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.hssf.record.RecordFactory at org.apache.poi.hssf.eventusermodel.HSSFRequest.addListenerForAllRecords(HSSFRequest.java:80) at excelimporter.reader.readers.ExcelReader.getHeaders(ExcelReader.java:125) at excelimporter.reader.ExcelImporter.getColumns(ExcelImporter.java:54) at excelimporter.actions.GetHeaderInformationFromExcelFile.executeAction(GetHeaderInformationFromExcelFile.java:42) at excelimporter.actions.GetHeaderInformationFromExcelFile.executeAction(GetHeaderInformationFromExcelFile.java:20) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:182) at com.mendix.core.Core.execute(SourceFile:219) at lg.a(SourceFile:70) at mf.a(SourceFile:73) at me.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:182) at com.mendix.core.Core.execute(SourceFile:219) at gm.execute(SourceFile:186) at iW.a(SourceFile:285) at ja$g.a(SourceFile:126) at ja$g$a.a(SourceFile:118) at ja$g$a.apply(SourceFile:116) at akka.actor.Actor$class.apply(Actor.scala:545) at ja$g.apply(SourceFile:112) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192) If someone could help me that would be very helpful. I will also create a support ticket. It seems this only occurs when importing xls. Thanks Simon
asked
1 answers
0

I found this article enlightning: noclassdeffounderror and here I found that the class is deprecated: recordfactory Maybe somebody from Mendix can give a clue where the Excel importer uses this class.

Hope this helps a bit.

Regards,

Ronald

answered