networknt / networknt/light-example-4j

Build failed on unit test codes

Open
#719 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.