I have loaded a sample application for SCP / S/4HANA Business Partner integration, did changes as documented in read.me, I also have comm. user/arrangement in S/4HANA for 0008. When I try to build it,
I get error during integration test, the content of file com.sap.cloud.s4hana.examples.addressmgr.BusinessPartnerServletTest is:
<<< ERROR! org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to deploy
Caused by: org.apache.openejb.OpenEJBRuntimeException: org.apache.openejb.OpenEJBException: Creating application failed: /Users/d036682/Downloads/cloud_app/integration-tests/target/surefire-fork/1/arquillian-tomee-working-dir/0/292d95a8-4414-4535-846f-c8fae7dcd7e9: Cannot get Unsafe.defineClass
Caused by: org.apache.openejb.OpenEJBException: Creating application failed: /Users/d036682/Downloads/cloud_app/integration-tests/target/surefire-fork/1/arquillian-tomee-working-dir/0/292d95a8-4414-4535-846f-c8fae7dcd7e9: Cannot get Unsafe.defineClass
Caused by: java.lang.IllegalStateException: Cannot get Unsafe.defineClass
Caused by: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
Could you please help
Thanks, Konstantin