Under Eclipse under Package, under new child package, like below Jiangzi ~
I do, I also searched some methods of Baidu, my success to share to everyone ~
First, right-click on the src Point, new a package, my bag name is COM.SPRINGMVC,
After the new, it looks like this,
Why one more com,com.springmvc, I do not know (hope the great God), but refresh the project, this will be gone.
Next, start creating a new child package, and continue with the new package,
Watch out! Watch out! This time the source folder path to continue to write to the name of your last package, because my package name is COM.SPRINGMVC, so in the source path plus/COM/SPRINGMVC, if you are a, such as XXX, directly add/xxx to the good, then click OK.
You'll find out, eh? Does not become a sub-package below Ah, don't worry, continue to this package on the new packages,
The path to the Source folder is just the same as it was until you wrote the name of the parent package, click OK
Look, this time separated away, into the form of a child package ~
Eclipse creates a new child package under the package