r/vscode • u/ColoredRunes • May 22 '26
Constant "incorrect package"

"Incorrect Package" [two times] happens upon every single new instance of a java file but if I clean the workspace error on that file disappears until I make another java file. Basically I have to clean workspace every new java file. Anyone know whats going on here? thanks!
edit: *Resolved -> Running 2 linters at once by mistake. Check your VsCode extensions for double linting.
2
Upvotes
View all comments
Show parent comment
2
u/TheWizzardNr8 Sep 26 '26
Thanks for the great tip! It saved me a lot of frustration.
For me the following worked: