Resources in NetBeans project and Maven project

For Maven project:

While the Java source files sit under src/main/java, all resources must be under src/main/resources

For NetBeans project:

resources sit under  src/main/java

If you plan to migrate an existing NetBeans project to Maven,

The resources folder may be created outside the IDE, or inside it from the Files tab (under src/main). Then move your resource files to the new folder.


Popular posts from this blog