当前位置:网站首页>About not being able to create a new package under Src in idea

About not being able to create a new package under Src in idea

2022-06-10 23:15:00 Wild dog 17

stay idea in , We will find that , Sometimes right click src unable new One package, This is because in our project at this time src Is not the root path of the project , Just set it as the root path , The specific method is as follows :
 Insert picture description here
At this point we find that we cannot new One package

It only needs : Right click src→Mark Directory as→ Click on Sources Root
 Insert picture description here

So you can do it src Now create the package .

原网站

版权声明
本文为[Wild dog 17]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206102159080445.html