cancel
Showing results for 
Search instead for 
Did you mean: 

Error Sap commerce hybris 2211: sapjco3.dll: Can't find dependent libraries

Yasbet_Alvarez
Explorer
0 Kudos

I am trying to launch Hybris in version 2211 with SAP extensions enabled, and I am getting the following error:

WARN [ShutdownHookThread] [AbstractTenant] Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'sapCoreDefaultJCoSessionReferenceProviderLifecycle' defined in class path resource [global-sapcorejco-spring.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: F:\hybris\bin\modules\sap-framework-core\sapcorejco\lib\ntamd64\sapjco3.dll: Can't find dependent libraries

org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'sapCoreDefaultJCoSessionReferenceProviderLifecycle' defined in class path resource [global-sapcorejco-spring.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: F:\hybris\bin\modules\sap-framework-core\sapcorejco\lib\ntamd64\sapjco3.dll: Can't find dependent libraries

at de.hybris.platform.core.HybrisContextFactory.build(HybrisContextFactory.java:308) ~[coreserver.jar:?]

at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf(HybrisContextFactory.java:179) ~[coreserver.jar:?]

I have an AMD processor and I have already downloaded the SAP connector from the following link:

And put it in the following path:

F:\hybris\bin\modules\sap-framework-core\sapcorejco\lib\ntamd64

Do you know if I'm doing something wrong? or do I need to do something else?

thanks for your help

Accepted Solutions (1)

Accepted Solutions (1)

adamreisberg
Active Participant

Hi yasbet.alvarez.godinez

This issue was discussed here previously: Error while implementing Hybris-SAP solution integration | SAP Community

Looking at SAP Java Connector, here's the recommendation:

SAP Java Connector 3.1 running on Windows operating systems requires the Microsoft Visual Studio 2013 C/C++ runtime libraries to be installed on the system. See SAP Note 2786882.

For information on VS C++ Redistributable library - see Update for Visual C++ 2013 Redistributable Package - Microsoft Support

Yasbet_Alvarez
Explorer
0 Kudos

It works, thank you!!! 😄

Answers (0)