Can anyone help me to resolve this error, The error occurs in sync-tool setup(v 5.1.0) #395
-
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shell': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'migrationCommands': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.sunbird.sync.tool.mgr.CassandraESSyncManager org.sunbird.sync.tool.shell.MigrationCommands.cassandraSyncMgr; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraESSyncManager': Invocation of init method failed; nested exception is ERR_DEFINITION_NOT_FOUND: No Definition found for Content |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@pallakartheekreddy @AmiableAnil can you please check this? @vinukumar-vs |
Beta Was this translation helpful? Give feedback.
-
@chaitanyakole Can you please provide more details?
|
Beta Was this translation helpful? Give feedback.
-
@chaitanyakole From learning repo still definitions are reading from DB. So to create these definitions please find the below steps and these definitions are available here Please run this jenkins job deploy/KnowledgePlatform/Neo4jDefinitionUpdate or run the below curl in your local machine for all the definitions. |
Beta Was this translation helpful? Give feedback.
-
@chaitanyakole - marking this thread as answered since we haven't received any response from you. Please feel free to start a new thread in case you still face any issues. |
Beta Was this translation helpful? Give feedback.
@chaitanyakole
Caused by: ERR_DEFINITION_NOT_FOUND: No Definition found for Content at org.sunbird.sync.tool.mgr.CassandraESSyncManager.getDefinition(CassandraESSyncManager.java:333) at org.sunbird.sync.tool.mgr.CassandraESSyncManager.init(CassandraESSyncManager.java:87)
In the above log it is saying that No Definition found for Content.
From learning repo still definitions are reading from DB. So to create these definitions please find the below steps and these definitions are available here
https://github.com/project-sunbird/sunbird-learning-platform/tree/master/docs/domain_model_v2/definitions
Please run this jenkins job deploy/KnowledgePlatform/Neo4jDefinitionUpdate
or run the below c…