Skip to main content
10-Marble
April 9, 2025
Question

Parsley Extension

  • April 9, 2025
  • 1 reply
  • 1408 views

Hi Team,

I want to read .xlsx file for that I am trying to import Parsley extension in thingworx.

I have downloaded the Parsley from Github. 

But While importing I am getting .jar file conflict error. So I tried to below steps to resolve this issue.

Pallavi_0-1744212289716.jpeg

Pallavi_1-1744212312875.jpegPallavi_2-1744212332908.jpeg

 

1) Stopped Tomcat.

2) Deleted the existing .jar file from Thingworx/extension folder.

3) There are multiple extension are using the same .jar file , so i have deleted the .jar file from the particular       extension folder also.

4) After I tried to Start the Tomcat , Tomcat is not getting started.

5) Once I revert back my changes it is started.

 

Can you please help me with this issue.

 

Thanks,

1 reply

19-Tanzanite
April 9, 2025

I will start my reply by stating that the Parsley extension is not a PTC supported product - it was developed by a former PTC employee.

Regardless, the easiest way to try and solve this situations is by removing the respective jar files from the Extension zip file itself (not from other folders) and from the metadata.xml, where those jars are referenced.

Once that's done, and if the existing JAR libraries are compatible with the extension functionality, you can retry the extension import and it should work fine.

 

10-Marble
April 10, 2025

Hi @VladimirRosu_116627 ,

 

I have tried that solution , deleted .jar file from Parsley extension from lib folder and updated the metadata.xml also. 

The extension is validated and imported successfully but the service ParseXLSX is not woking.

 

Error : Unable to Invoke Service ParseXLSX on Parsley : org/apache/poi/util/StaxHelper 

 

Pallavi_0-1744273871165.png

 

Thanks

 

19-Tanzanite
April 10, 2025

Hi @Pallavi_374858 ,

I will say this is an unfortunate situation because you're exactly in the situation I wrote in bold above. Specifically, the "org.apache.poi.util.StaxHelper" class was introduced in Apache POI version 3.17.

Your option is to rework the code to use the XMLHelper, which is available before 3.17 - you need to download the source code and rebuild the extension in this situation.