0

Very often I get this error in Eclipse, saying that some classes are not present on the build path.

For eg, now it can not find the class "cucumber.api.java.After". This class do exist in the jar "cucumber-java-1.2.5.jar" And if you take a look at the pom.xml in the image below you see that that dependency is included in the project.

But why does not my beloved Eclipse find it? Best regards Fredrik

enter image description here

1

1 Answer 1

1

I feel a bit silly now. But a Refresh of all projects and a Maven > Update Project with "Force update ..." actually solved the problem. Must try to remember that.

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

1 Comment

Strange that Eclipse did not suggest that solution though,

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.