Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.1.0 failes with 'task.syncGovernanceInfo.filePath value not set #236

Open
ksemaev opened this issue Jun 30, 2020 · 0 comments
Open

Comments

@ksemaev
Copy link
Contributor

ksemaev commented Jun 30, 2020

The error is

[ ERROR] [2020-06-30 20:03:54] org.springframework.boot.SpringApplication [858] - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeScheduledTask': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'task.syncGovernanceInfo.filePath' in value "${task.syncGovernanceInfo.filePath}"

It's looking for value here, and we don't provide it with config: https://github.com/ontio/ontology-explorer/blob/version2.1.0/back-end-projects/OntSynHandler/src/main/java/com/github/ontio/schedule/NodeScheduledTask.java#L23

@ksemaev ksemaev changed the title Version 2.1.0 failes with Version 2.1.0 failes with 'task.syncGovernanceInfo.filePath value not set Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant