Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I'm facing below error related to the configuration of sapidoc3.jar file. The error is -
"Illegal IDoc library archive "sapidoc3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapidoc3.jar".at com.sap.conn.idoc.jco.JCoIDoc."
The suggested solution is to make changes in the maven-dependency-plugin configuration in pom.xml file with adding the option <stripVersion>true</stripVersion> for coyping the JCo artifacts.
In Talend how do I access this pom.xml and in which section should I make the code changes. Please suggest.
Regards,
SG
The issue got resolved with the Patch upgrade
Hello,
You can open the Project Settings dialog box, expand the Build > Maven > Default nodes, and then click the Project node to open the Project POM settings.
For more information, please refer to this online user guide about:TalendHelpCenter:Customizing Maven build script templates
Let us know if it is what you are looking for.
Best regards
Sabrina
The issue got resolved with the Patch upgrade
Hi @talen612,
I use Talend Data Management Platform 7.1.1 and have the same issue as you with the following message when trying to send an XML file to SAP using tSAPIDocOutput component:
Exception in thread "main" java.lang.ExceptionInInitializerError: Illegal IDoc library archive "sapidoc3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapidoc3.jar".
at com.sap.conn.idoc.jco.JCoIDoc.<clinit>(JCoIDoc.java:150)
I have added the following lines to the project POM:
<plugin> <artifactId>maven-dependency-plugin</artifactId> <stripVersion>true</stripVersion> </plugin>
But I still have the same message (Studio has been restarted).
Is that the way you solved the problem? With the same Studio version?
Thank's in advance.