Intellij creates 2 packages of same name
Answered
I have a spring boot project. The file structure has src<main<java<com.maat<(other packages.
When I add a test package inside com.maat, Intellij creates a new package com with a subpackage maat and puts the test package inside there. What is going wrong?


Please sign in to leave a comment.
What directory is marked as test sources root?
May you share a small screen recording on how it is reproduced?
No directory marked as test sources root.https://youtu.be/Jx36TT4y22g
That's strange.
Do you have any custom plugins enabled? Try disabling them all.
Is the issue reproduced in any project, or only via exact one?
This has happened before in other projects
Do you have any custom plugins enabled? Try disabling them all.
IF it does not help, share a sample project via https://uploads.jetbrains.com