[doom emacs] lsp-java error "The declared package does'not match the Expected package "". reddit / emacs ---------------------------------------------------------------------- flexible_dick · 2022-04-22 06:13 Restarted emacs multiple times , the error is shownig every time , even though the project directory is correct. ---------------------------------------------------------------------- yyoncho · 2022-04-22 06:48 Most likely wrong root selection. Use m-x lsp-worskspace-folders- add/remove ---------------------------------------------------------------------- flexible_dick · 2022-04-22 08:10 Now , it is showing , .java is a non-project file , only syntax errors are reported. ---------------------------------------------------------------------- yyoncho · 2022-04-22 09:21 That is indication for bad project root