It's working Right click on your project and Go to Build path > Configure build path > Java build path > add library. and add Junit 5 library. It will resolve the issue