JanLoebel / JanLoebel/json-schema-validation-starter
Application not loading due to lack of Bean
- Dominant language
- Java
- Stars
- 10
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Receiving the message:
`Consider defining a bean of type 'com.github.JanLoebel.jsonschemavalidation.provider.JsonSchemaProvider' in your configuration.`
Application fails to start and basic context loading test fails.
Using `@ComponentScan` or `@EntityScan` pointing to the package doesn't fix the issue.
Using:
```
'org.springframework.boot' version '2.7.12'
'com.networknt:json-schema-validator:1.0.82'
'com.github.JanLoebel:json-schema-validation-starter:2.3.0'
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin with the basic context loading test and the reported dependency versions; trace why JsonSchemaProvider is not registered despite package scanning. Done means the application starts and that context test passes without the missing-bean error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100