0

I'm making a JUnit test class for a java class in Eclipse and I'm unsure of what steps to take to fix it. enter image description here

I tried to add the JUnit 5 Library to the build path as part of "Fix project setup", but it didn't correct the errors.

I was prompted to fix the build path as I created the class so I'm not sure why it isn't set up now.

0

1 Answer 1

0

The offer to add Junit 5 to the classpath isn't compatible with the module-info.java file. Unless you plan to use it, delete it, otherwise you'll probably need to declare a requirement on everything it added for you within the module-info.java file.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.