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

user2902165
  • 303
  • 2
  • 14
  • Possible duplicate of [How to import a jar in Eclipse](https://stackoverflow.com/questions/3280353/how-to-import-a-jar-in-eclipse) – OldProgrammer Aug 04 '18 at 19:19

1 Answers1

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.

user2902165
  • 303
  • 2
  • 14