vendredi 9 avril 2021

@RunWith cannot be resolved to a type - Spring Boot

I have a problem testing with Spring Boot. The error seems to happen with JUnit but i have the pom dependency correctly written.

Here is the error:

enter image description here

The message error is: RunWith cannot be resolved to a type.

And the pom dependency:

enter image description here

Does anybody know why is this happening? I haven't found similar errors and it's driving me crazy.

Aucun commentaire:

Enregistrer un commentaire