<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268724#M47203</link>
    <description>&lt;P&gt;For anyone following, this was most likely caused by different versions of some the jar files.. I found 3.15 and 3.17 versions of the poi, poi-ooxml and poi-ooxml-schemas jars. Rather than look for all jar files with different versions, I backed up / deleted my .m2 and plugins folders and asked a coworker who has not experienced this issue to copy those folders for me to replace since we have worked on the same projects. I can now run jobs using the exchange excel components.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 21:34:02 GMT</pubDate>
    <dc:creator>RLai</dc:creator>
    <dc:date>2020-01-28T21:34:02Z</dc:date>
    <item>
      <title>NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268721#M47200</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a job using the exchange components tFileExcelWorkbookOpen and tFileExcelSheetInput, however I am running into the following error when the job reaches these components:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook
	at vendor_etl.bps_stageload_0_11.BPS_stageLoad.tFileList_1Process(BPS_stageLoad.java:989)
	at vendor_etl.bps_stageload_0_11.BPS_stageLoad.runJobInTOS(BPS_stageLoad.java:2028)
	at vendor_etl.bps_stageload_0_11.BPS_stageLoad.main(BPS_stageLoad.java:1668)
Caused by: java.lang.ClassNotFoundException: org.apache.poi.xssf.usermodel.XSSFWorkbook
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 3 more
[statistics] disconnected&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt; 
&lt;P&gt;I have the jar files installed in their respective directories in&amp;nbsp;Talend\7.2.1\studio\configuration\.m2\repository\org\talend\libraries and the studio is recognizing the jar files.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExcelWorkbookOpen Jars.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8s8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143928iD375242C57470BBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8s8.png" alt="0683p000009M8s8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Is there a solution to this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268721#M47200</guid>
      <dc:creator>RLai</dc:creator>
      <dc:date>2024-11-16T03:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268722#M47201</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000005Hua9AAC"&gt;@RLai&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To include these JARs in the build, you can simply try dragging an excel component(that comes with talend) at the beginning of your job and just deactivate it.&lt;/P&gt;
&lt;P&gt;This way the jars become available and the job should run fine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 22:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268722#M47201</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2020-01-24T22:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268723#M47202</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried creating a new test job with a deactivated standard talend excel component, but I am still running into the same error. When I have both the standard and custom components enabled, I get the following error:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class org.apache.poi.util.POILogger, but interface was expected
	at org.apache.poi.openxml4j.opc.PackageRelationshipCollection.parseRelationshipsPart(PackageRelationshipCollection.java:303)
	at org.apache.poi.openxml4j.opc.PackageRelationshipCollection.&amp;lt;init&amp;gt;(PackageRelationshipCollection.java:163)
	at org.apache.poi.openxml4j.opc.PackageRelationshipCollection.&amp;lt;init&amp;gt;(PackageRelationshipCollection.java:133)
	at org.apache.poi.openxml4j.opc.PackagePart.loadRelationships(PackagePart.java:570)
	at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:728)
	at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:237)
	at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:166)
	at org.apache.poi.ooxml.POIXMLDocument.openPackage(POIXMLDocument.java:89)
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.&amp;lt;init&amp;gt;(XSSFWorkbook.java:336)
	at vendor_etl.excel_testing_0_1.excel_testing.tFileList_1Process(excel_testing.java:1891)
	at vendor_etl.excel_testing_0_1.excel_testing.tPrejob_1Process(excel_testing.java:1332)
	at vendor_etl.excel_testing_0_1.excel_testing.runJobInTOS(excel_testing.java:2772)
	at vendor_etl.excel_testing_0_1.excel_testing.main(excel_testing.java:2583)&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Test excel.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8t1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150230iDAD2A35D72E8B702/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8t1.png" alt="0683p000009M8t1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The subjob using the standard Talend excel component does not fail when the subjob using the custom excel components are disabled&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxiW"&gt;Custom excel components disabled.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 27 Jan 2020 15:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268723#M47202</guid>
      <dc:creator>RLai</dc:creator>
      <dc:date>2020-01-27T15:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268724#M47203</link>
      <description>&lt;P&gt;For anyone following, this was most likely caused by different versions of some the jar files.. I found 3.15 and 3.17 versions of the poi, poi-ooxml and poi-ooxml-schemas jars. Rather than look for all jar files with different versions, I backed up / deleted my .m2 and plugins folders and asked a coworker who has not experienced this issue to copy those folders for me to replace since we have worked on the same projects. I can now run jobs using the exchange excel components.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 21:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NoClassDefFoundError-org-apache-poi-xssf-usermodel-XSSFWorkbook/m-p/2268724#M47203</guid>
      <dc:creator>RLai</dc:creator>
      <dc:date>2020-01-28T21:34:02Z</dc:date>
    </item>
  </channel>
</rss>

