Package not found error after importing project to eclipse

i just imported the project to Eclipse.
When I tried to run a SimpleExample.java, i got the following error.

Exception in thread “main” java.lang.Error: Unresolved compilation problem:

at com.graphhopper.jsprit.core.problem.vehicle.VehicleImpl$Builder.newInstance(VehicleImpl.java:255)
at com.graphhopper.jsprit.examples.SimpleExample.main(SimpleExample.java:67)

When I check the VehicleImpl.java, i found that there was problem with importing the following. It is because i dont have org.slf4j. Do i need to find and import org.slf4j?

import org.slf4j.Logger;

Please use/enable the maven plugin. (Or use a different IDE like IntelliJ or NetBeans) Maven will handle this for you.

1 Like