由于未正确配置加密策略,因此无法加密目标系统密码

2020-09-26 09:40发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


大家好,我收到了以下错误消息"由于加密策略未正确配置而无法加密目标系统密码",即使我多次检查并按照hybris 帮助。在将扩展程序(例如saperpproduct,saparticle)加载到datahub上时抛出。

这是错误堆栈跟踪

[错误] [chdeliDefaultExtensionLoaderService]无法在com上加载扩展名saparticle com.hybris.datahub.validation.ValidationException:[ValidationFailure {FATAL,密码:由于加密策略配置不正确,无法加密目标系统密码"}]。 hybris.datahub.validation.ComplexValidator.runThroughNestedValidators(ComplexValidator.java:46)〜[datahub-service-6.4.0.2-RC1.jar:6.4.0.2-RC1] at com.hybris.datahub.validation.ValidationRules.validate(ValidationRules .java:30)〜[datahub-service-6.4.0.2-RC1.jar:6.4.0.2-RC1] at com.hybris.datahub.service.impl.DefaultTargetSystemService.newTargetSystem(DefaultTargetSystemService.java:40)〜[datahub- service-6.4.0.2-RC1.jar:6.4.0.2-RC1]位于com.hybris.datahub.extension.load.impl.TargetModelLoader.loadTargetSystems(TargetModelLoader.java:63)〜[datahub-extension-loader-6.4.0.2 -RC1.jar:6.4.0.2-RC1],位于com.hybris.datahub.extension.load.impl.DefaultExtensionImportService.loadExtension(DefaultExtensionImportService.java:48) 〜[datahub-extension-loader-6.4.0.2-RC1.jar:6.4.0.2-RC1] at sun.reflect.GeneratedMethodAccessor204.invoke(未知源)〜[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:43)〜[na:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498)〜[na:1.8.0_131] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection (AopUtils.java:333)〜[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)〜[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] aop-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)〜[spring-aop-4.3.3.RELEASE.jar:4.3 .3.RELEASE]位于org.springframework.transaction.interceptor.TransactionInterceptor $ 1.proceedWithInvocation(TransactionInterceptor.java:99)〜[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE]。 transaction.interceptor.TransactionAspectSupp ort.invokeWithinTransaction(TransactionAspectSupport.java:281)〜[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)〜 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)上的[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE]〜[spring-aop-4.3.3.RELEASE。 jar:4.3.3.RELEASE],位于org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)〜[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE]。 sun.proxy。$ Proxy182.loadExtension(未知来源)〜[na:na]在com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtension(DefaultExtensionLoaderService.java:86)〜[datahub-extension-loader-6.4 .0.2-RC1.jar:6.4.0.2-RC1] at java.util.Iterator.forEachRemaining(Iterator.java:116)〜[na:1.8.0_131] at java.util.Spliterators $ IteratorSpliterator.forEachRemaining(Spliterators.java :1801)〜[na:1.8.0_131],位于java.util.stream.R eferencePipeline $ Head.forEachOrdered(ReferencePipeline.java:590)〜[na:1.8.0_131]在com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensionsInOrder(DefaultExtensionLoaderService.java:78)〜[datahub-extension-loader -6.4.0.2-RC1.jar:6.4.0.2-RC1],位于com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensions(DefaultExtensionLoaderService.java:71)〜[datahub-extension-loader-6.4.0.2- RC1.jar:6.4.0.2-RC1],位于com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensionsFromClasspath(DefaultExtensionLoaderService.java:44)〜[datahub-extension-loader-6.4.0.2-RC1.jar:6.4 .0.2-RC1]在com.hybris.datahub.spring.ContextRefreshedEventListener.onApplicationEvent(ContextRefreshedEventListener.java:43)〜[classes/:na]在com.hybris.datahub.spring.ContextRefreshedEventListener.onApplicationEvent(ContextRefreshedEventListener.java:25) 〜[classes/:na]在org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(Sim pleApplicationEventMulticaster.java:166)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)〜[spring-context -4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382)〜[spring-context-4.3.3.RELEASE.jar:4.3。 3.RELEASE]位于org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.context。 support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544 )〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.web.context.ContextLoader.configureAndRefreshW ebApplicationContext(ContextLoader.java:444)〜[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)〜[spring -web-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)〜[spring-web-4.3.3.RELEASE.jar: [4.3.3.RELEASE]位于org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)〜[catalina.jar:7.0.79],位于org.apache.catalina.core.StandardContext.startInternal(StandardContext。 java:5634)〜[catalina.jar:7.0.79]在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)〜[catalina.jar:7.0.79]在org.apache.catalina。 core.ContainerBase.addChildInternal(ContainerBase.java:899)〜[catalina.jar:7.0.79]在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)〜[catalina.jar:7.0.79 ]在org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)〜[catalina.jar:7.0.79] 在org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)〜[catalina.jar:7.0.79]在org.apache.catalina.startup.HostConfig $ DeployDescriptor.run(HostConfig.java:2002) 〜[catalina.jar:7.0.79] at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)〜[na:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask。 java:266)〜[na:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)〜[na:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor $ Worker.run( ThreadPoolExecutor.java:617)〜[na:1.8.0_131] at java.lang.Thread.run(Thread.java:748)〜[na:1.8.0_131]

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


大家好,我收到了以下错误消息"由于加密策略未正确配置而无法加密目标系统密码",即使我多次检查并按照hybris 帮助。在将扩展程序(例如saperpproduct,saparticle)加载到datahub上时抛出。

这是错误堆栈跟踪

[错误] [chdeliDefaultExtensionLoaderService]无法在com上加载扩展名saparticle com.hybris.datahub.validation.ValidationException:[ValidationFailure {FATAL,密码:由于加密策略配置不正确,无法加密目标系统密码"}]。 hybris.datahub.validation.ComplexValidator.runThroughNestedValidators(ComplexValidator.java:46)〜[datahub-service-6.4.0.2-RC1.jar:6.4.0.2-RC1] at com.hybris.datahub.validation.ValidationRules.validate(ValidationRules .java:30)〜[datahub-service-6.4.0.2-RC1.jar:6.4.0.2-RC1] at com.hybris.datahub.service.impl.DefaultTargetSystemService.newTargetSystem(DefaultTargetSystemService.java:40)〜[datahub- service-6.4.0.2-RC1.jar:6.4.0.2-RC1]位于com.hybris.datahub.extension.load.impl.TargetModelLoader.loadTargetSystems(TargetModelLoader.java:63)〜[datahub-extension-loader-6.4.0.2 -RC1.jar:6.4.0.2-RC1],位于com.hybris.datahub.extension.load.impl.DefaultExtensionImportService.loadExtension(DefaultExtensionImportService.java:48) 〜[datahub-extension-loader-6.4.0.2-RC1.jar:6.4.0.2-RC1] at sun.reflect.GeneratedMethodAccessor204.invoke(未知源)〜[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:43)〜[na:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498)〜[na:1.8.0_131] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection (AopUtils.java:333)〜[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)〜[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] aop-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)〜[spring-aop-4.3.3.RELEASE.jar:4.3 .3.RELEASE]位于org.springframework.transaction.interceptor.TransactionInterceptor $ 1.proceedWithInvocation(TransactionInterceptor.java:99)〜[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE]。 transaction.interceptor.TransactionAspectSupp ort.invokeWithinTransaction(TransactionAspectSupport.java:281)〜[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)〜 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)上的[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE]〜[spring-aop-4.3.3.RELEASE。 jar:4.3.3.RELEASE],位于org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)〜[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE]。 sun.proxy。$ Proxy182.loadExtension(未知来源)〜[na:na]在com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtension(DefaultExtensionLoaderService.java:86)〜[datahub-extension-loader-6.4 .0.2-RC1.jar:6.4.0.2-RC1] at java.util.Iterator.forEachRemaining(Iterator.java:116)〜[na:1.8.0_131] at java.util.Spliterators $ IteratorSpliterator.forEachRemaining(Spliterators.java :1801)〜[na:1.8.0_131],位于java.util.stream.R eferencePipeline $ Head.forEachOrdered(ReferencePipeline.java:590)〜[na:1.8.0_131]在com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensionsInOrder(DefaultExtensionLoaderService.java:78)〜[datahub-extension-loader -6.4.0.2-RC1.jar:6.4.0.2-RC1],位于com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensions(DefaultExtensionLoaderService.java:71)〜[datahub-extension-loader-6.4.0.2- RC1.jar:6.4.0.2-RC1],位于com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensionsFromClasspath(DefaultExtensionLoaderService.java:44)〜[datahub-extension-loader-6.4.0.2-RC1.jar:6.4 .0.2-RC1]在com.hybris.datahub.spring.ContextRefreshedEventListener.onApplicationEvent(ContextRefreshedEventListener.java:43)〜[classes/:na]在com.hybris.datahub.spring.ContextRefreshedEventListener.onApplicationEvent(ContextRefreshedEventListener.java:25) 〜[classes/:na]在org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(Sim pleApplicationEventMulticaster.java:166)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)〜[spring-context -4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382)〜[spring-context-4.3.3.RELEASE.jar:4.3。 3.RELEASE]位于org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.context。 support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544 )〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.web.context.ContextLoader.configureAndRefreshW ebApplicationContext(ContextLoader.java:444)〜[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)〜[spring -web-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)〜[spring-web-4.3.3.RELEASE.jar: [4.3.3.RELEASE]位于org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)〜[catalina.jar:7.0.79],位于org.apache.catalina.core.StandardContext.startInternal(StandardContext。 java:5634)〜[catalina.jar:7.0.79]在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)〜[catalina.jar:7.0.79]在org.apache.catalina。 core.ContainerBase.addChildInternal(ContainerBase.java:899)〜[catalina.jar:7.0.79]在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)〜[catalina.jar:7.0.79 ]在org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)〜[catalina.jar:7.0.79] 在org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)〜[catalina.jar:7.0.79]在org.apache.catalina.startup.HostConfig $ DeployDescriptor.run(HostConfig.java:2002) 〜[catalina.jar:7.0.79] at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)〜[na:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask。 java:266)〜[na:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)〜[na:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor $ Worker.run( ThreadPoolExecutor.java:617)〜[na:1.8.0_131] at java.lang.Thread.run(Thread.java:748)〜[na:1.8.0_131]

付费偷看设置
发送
2条回答
亦是此间程序员
1楼 · 2020-09-26 10:09.采纳回答

您是否正确设置了 datahub.encryption.key.path 属性,并使用了按照此处说明的步骤生成的密钥:https://help.hybris.com/6.4.0/hcd/455fe0a1361f41109c12eb008fe64006.html

愤怒的猪头君
2楼-- · 2020-09-26 10:13

和另一个错误,我可以在日志中看到:

com.hybris.datahub.validation.ValidationException:[ValidationFailure {FATAL,"未为规范项SAPBaseStoreConfiguration设置任何主键"}}]

一周热门 更多>