Comments on Batch Import API

Last modified by Anca Luca on 2023/01/30 00:15

  • matthew_exon
    matthew_exon, 2013/01/22 08:51

    I'm finding this won't install on XWiki 4.4.1.  I've installed the Excel Plugin, and I've put jxl.jar and opencsv-2.3.jar in the lib directory.  The error message is:

    Failed to get fields for class [org.xwiki.batchimport.internal.iterators.ExcelImportFileIterator] because the class [com/xpn/xwiki/plugin/excel/ExcelPluginException] couldn't be found in the ClassLoader.
    class java.lang.NoClassDefFoundError: Failed to get fields for class [org.xwiki.batchimport.internal.iterators.ExcelImportFileIterator] because the class [com/xpn/xwiki/plugin/excel/ExcelPluginException] couldn't be found in the ClassLoader. at org.xwiki.component.util.ReflectionUtils.getAllFields(ReflectionUtils.java:71) at org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptor(ComponentDescriptorFactory.java:132) at org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptors(ComponentDescriptorFactory.java:105) at org.xwiki.component.annotation.ComponentAnnotationLoader.register(ComponentAnnotationLoader.java:161) at org.xwiki.component.annotation.ComponentAnnotationLoader.initialize(ComponentAnnotationLoader.java:136) at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.loadComponents(JarExtensionHandler.java:143) at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.install(JarExtensionHandler.java:100) at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:80) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:176) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:133) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:86) at org.xwiki.extension.job.internal.InstallJob.start(InstallJob.java:130) at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:155) at java.lang.Thread.run(Thread.java:679)

Get Connected