networknt / networknt/light-example-4j
Build failed on unit test codes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 150
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
when invoke mvn build on servicemesher/services folder, it failed, error message:
/workspace/light4j/light-example-4j/servicemesher/services/bookstore-service-api/src/test/java/com/networknt/bookstore/handler/BooksBookIdDeleteHandlerTest.java:[76,69] incompatible types: com.networknt.schema.SchemaValidatorsConfig cannot be converted to com.networknt.openapi.SchemaValidator
Cause: code changes in com.networknt.openapi.ResponseValidator.ResponseValidator(...)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the reported Maven build from the servicemesher/services folder and inspect servicemesher/services/bookstore-service-api/src/test/java/com/networknt/bookstore/handler/BooksBookIdDeleteHandlerTest.java at line 76. Then review the ResponseValidator.ResponseValidator(...) changes and confirm the unit tests compile and the build completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100