SAP Knowledge Base Article - Preview

2931106 - Error: NoClassDefFoundError: org/apache/commons/collections4/ListValuedMap - SAP Data Services 4.2

Symptom

  • When running a Data Services job that uses Microsoft Excel document as a source the job fails with the following error
    • Error preparing to read <flat_file_object>: <org/apache/commons/collections4/ListValuedMap>
  • When viewing the MS Excel Adapter trace and error log the following stack trace is shown:
    • java.lang.NoClassDefFoundError: org/apache/commons/collections4/ListValuedMap
      at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:184)
      at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:149)
      at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:540)
      at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
      at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1999)
      at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:92)
      at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:406)
      at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
      at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1559)
      at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections4.ListValuedMap
      at java.net.URLClassLoader.findClass(URLClassLoader.java:444)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:486)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:378)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
      ... 10 more


Read more...

Environment

  • SAP Data Services 4.2
  • All supported Unix platforms

Product

SAP Data Services 4.2

Keywords

KBA , EIM-DS-EXE , Job Execution , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.