Hi,
I am trying to add the SAP jar dependencies for AnyPoint Studio 7.1.
I managed to successfully add the jar files (sapjco3.jar and sapidoc.jar) by installing them as local maven dependencies, but am stuck with the JCo native library (sapjco3.dll). I wasn't able to find any examples for the latest Studio version.
Anyone has an idea how it's supposed to be done? Any insights would be greatly appreciated.
Thank you all.
Dependencies in my pom.xml so far:
<dependency>
<groupId>org.mule.connectors</groupId>
<artifactId>mule-sap-connector</artifactId>
<version>4.0.0</version>
<classifier>mule-plugin</classifier>
</dependency>
<dependency>
<groupId>com.sap.conn.idoc</groupId>
<artifactId>com.sap.conn.idoc.sapidoc3</artifactId>
<version>3.0.16</version>
</dependency>
<dependency>
<groupId>com.sap.conn.jco</groupId>
<artifactId>com.sap.con.jco.sapjco3</artifactId>
<version>3.0.15</version>
</dependency>
Shared libraries:
<sharedLibraries>
<sharedLibrary>
<groupId>com.sap.conn.idoc</groupId>
<artifactId>com.sap.conn.idoc.sapidoc3</artifactId>
</sharedLibrary>
<sharedLibrary>
<groupId>com.sap.conn.jco</groupId>
<artifactId>com.sap.con.jco.sapjco3</artifactId>
</sharedLibrary>
</sharedLibraries>
Hi, @tane, as a quick fix, manually download the sapjco3.dll file, place it in your project folder. In the Studio's Package Explorer, right click on the file, Build Path > Add to Build Path. It just worked for me.