Published
- 1 min read
Preview features enabled at an invalid source release level 15, preview can be enabled only at source level 16Java(2098258)
The solution for this is noted below
Preview features enabled at an invalid source release level 15, preview can be enabled only at source level 16Java(2098258)
Solution
ctrl + shift + p.
Write to the command palette: Clean the Java language server workspace.
Press enter (restart your VScode).
Try other methods by searching on the site. That is if this doesn’t work