See the attached screenshot.
Created attachment 39154 [details]
NetBeans IDE 6.0m7's New Java Package with incorrect directory name
Also, the field name is 'Created File:' not 'Created Directory:'
I can reproduce with Maven "war" project, but cannot reproduce with J2SE project
of Maven "jar" or "hpi" project. Passing to Maven support to investigate.
the problem is caused by the fact that war project archetype doesn't create
src/main/java folder which is the default source root for java packages. That
means no SourceGroup instance is created. That' what the wizard relies on.
An obvious workaround is to create the src/main/java folder and reload the project.
partially workarounded/fixed by creating the src/main/java and src/test/java
folders on creation of a new project. Won't influence behaviour of any existing
This issue seems to be already fixed,I can't reproduce it.
it's still there, we just make sure to create src/main/java folder on project creation.. If you havea project without
it, you shall be able to reproduce.
*** Issue 171030 has been marked as a duplicate of this issue. ***
Change of the default owner.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.
Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss