Problem importing Junit in Eclipse(SpringToolSuite4)

21 Views Asked by At

I'm facing a problem when doing a simple test. I can't understand, since java is installed correctly.

https://postimg.cc/GBB0Ctpx

https://postimg.cc/8sR2DqT9

I was hoping to import the junit library into SpringToolSuite4 but I can't access it.

Description Resource Path Location Type junit cannot be resolved to a module module-info.java /ExemploVendasMod25/src/main/java line 8 Java Problem

Description: The compiler cannot find the junit module. Location: The problem is on line 8 of the module-info.java file. Error type: The compiler is unable to resolve the junit module.

0

There are 0 best solutions below