project:
-
-
Save liweinan/549970a8e507e9c287db92eabf9777e8 to your computer and use it in GitHub Desktop.
since the error points at line 1 col 0, so it could yasson is expecting some json payload but somehow got empty json object. You may want to check if a json payload is needed in your request.
another possibility is the client side (resteasy, etc) libs may be too old.
Also I've updated https://github.com/jberet/jberet-wildfly-samples project with various lib upgrades and fixes.
@chengfang I'll check the updated examples. thanks for help!
@chengfang After upgrading the jberet-wildfly-samples
project locally, I can build the project now. And I went on running the tests restAPI
example. I run the start()
test and I can reproduce the INVALID TOKEN
problem:
Could you please help to check it? Thanks!
sure, I'll take a look. It could be some problem with jberet-rest-api, which has not been updated for a while. I noticed all rest* sub-modules within jberet-wildfly-samples failed with the above error.
@chengfang thanks!
@chengfang I extracted one of the example and created this project:
I started the server by running:
And then run the test:
Though the test passed however the server throws some error messages:
I'm not sure how to fix it, could you please help to check it? Thanks!