I need to import gurobi.jar to my project to correctly view the flycheck's errors.

I have read Maven in 5 Minutes and How to add local jar files to a Maven project? but I am still not able to correctly setup maven to fix flycheck.

1 Answer 1


There is no need of maven. It is enough to put jars in a lib folder of the same project.

It could be necessary to clean (or manage):

  • ~/.emacs.d/workspace

  • ~/.emacs.d/.lsp-session-v1

Maybe useful: M-x lsp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.