我已经为 SCP / S/4HANA 业务合作伙伴集成加载了一个示例应用程序,按照 read.me 中的记录进行了更改,我也有 comm。S/4HANA 中 0008 的用户/安排。当我尝试构建它时,
在集成测试期间出现错误,文件内容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)
能否请你帮忙
谢谢,康斯坦丁