Issue
My Java extensions do not seem to be able to actually recognize my project as a Java project. As a result, my project management, linter and formatter extensions do not work.. I use the Java extension pack from Microsoft along with the Java language support extension by Red Hat.
It might have something to do with the fact that I renamed my package from 'productestservice' to 'producttestservice'. I tried an answer from a related thread, which is to 'clean the Java language server workspace'. Unfortunately, this did not solve the issue.
Here is a repository that I prepared for the reproduction of this issue.
EDIT: I found out that my language server extension fails to scan my project.
Solution
It turns out that a folder named 'postgres-data' (generated from my PostgreSQL database) has strict permissions that disallowed my project manager extension to scan my project. A workaround is to run chmod 777 -R postgres-data
.
Answered By - FOR_SCIENCE
Answer Checked By - Clifford M. (JavaFixing Volunteer)