Intellij creates 2 packages of same name

已回答

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?

0

What directory is marked as test sources root? 

May you share a small screen recording on how it is reproduced? 

0

No directory marked as test sources root.https://youtu.be/Jx36TT4y22g 

0

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? 

0

This has happened before in other projects

0

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

 

0

请先登录再写评论。