As mentioned earlier, you need to clean up the project, but this is a bit complicated thing, because each folder is Guid, and you do not know which one to clear, which requires you to delete everything. Starting from version 0.33.0 of the plugin, you can also automatically do this from the IDE, use CTRL + Shift + P and enter java clean , and the IDE will show you a hint for Java: Clear the workspace of the Java language server. After selecting, accept and restart the IDE. This will clear the language server workspace for you.
Another approach might be Maven tools in the IDE. If you have this plugin installed, you can use the sidebar and use the Maven Project Assistant options to perform actions such as cleaning, installing, packaging, etc. For example, here is my project and the parameters that it shows,

This can be used graphically to manage Maven-based projects. In addition, it will work with the Java Extension Pack , but is not yet sure how it will work with other extensions.
source share