I am getting this error when i run the code

Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules hamcrest.library and hamcrest.core export package org.hamcrest to module httpclient