How to put a folder inside my package layout?

I want to do this:


But in IDEA, when I created the class, it organizes things in as a package and doesn't have folders.

What am I doing wrong?

1 comment
Comment actions Permalink

Am I right understanding that you want UserService and UserServiceImpl classes to belong to unnamed package and be located under Services/User filesystem path?

I'm afraid the question is unclear because java packages are matched to file system directories, i.e. every time you create new package via IDEA, corresponding directory is automatically created for you.


Please sign in to leave a comment.