on 11-24-2022 2:16 PM
[EncryptionUtil] /Users/mohitagarwal/Documents/hybris1/hybris/config/security/default-128-bit-aes-key.hybris (No such file or directory) i am facing this issue for a while while starting the hyybris server
org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'defaultSystemSetupAuditDAO' defined in class path resource [core-spring.xml]: Cannot resolve reference to bean 'flexibleSearchService' while setting bean property 'flexibleSearchService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFlexibleSearchService' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'modelService' while setting bean property 'modelService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultModelService' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'sourceTransformer' while setting bean property 'sourceTransformer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sourceTransformer' defined in class path resource [servicelayer-spring.xml]: Cannot resolve reference to bean 'sldDataContainerProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSLDDataContainerProvider' defined in class path resource [persistence-spring.xml]: Cannot resolve reference to bean 'sldItemDAO' while setting bean property 'sldItemDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSLDItemDAO': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Value encryptor not properly initialized
The whole encryption key configuration is stored in properties and follows a simple schema. Please make sure, this has been configured correctly.
symmetric.key.file.1=default-128-bit-aes-key.hybris
summetric.key.file.default=1
You can also refer the below link for more information:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello 169369378250,
I am glad to hear that the solution worked for you and the issue is fixed.
Please accept the answer, if you don't have any further query.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.