https://linen.dev logo
#help
Title
# help
s

Slackbot

02/20/2024, 3:31 PM
This message was deleted.
t

Tom

02/20/2024, 3:41 PM
The stub JSON needs to go in a sub-folder of your defined root called
mappings
So based on what you’ve posted, under
src/main/resources/wiremock/mappings
r

Rodolfo Silva

02/20/2024, 3:48 PM
Hey Tom. Thank you for your message. I just added the json file under the mappings folder. Also updated the code
usingFilesUnderDirectory("src/main/resources/mappings")
but issue persists 😕
t

Tom

02/20/2024, 3:49 PM
Don’t do the 2nd part
The
mappings
part is assumed
r

Rodolfo Silva

02/20/2024, 3:53 PM
Still with the same issue 😞
t

Tom

02/20/2024, 3:54 PM
Hmmm…using
WireMockApp
is wrong, that’s an internal class. Are you following some Spring integration instructions?