Package not found error after importing project to eclipse

i just imported the project to Eclipse.
When I tried to run a, 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(
at com.graphhopper.jsprit.examples.SimpleExample.main(

When I check the, 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