Reputation: 311
I'm trying to create a Maven project with Eclipse. I need to put my hibernate configuration file in a Folder named Resources. Which is supposed to exist in src/main/Resources. I can't find it and I don't know how to create it.
I used the webapp-javaee6 Archetype.
Should I use another Archetype ? Create my folder manually ?
Upvotes: 1
Views: 9949
Reputation: 1034
Go to Configure build path of your Project.
Under Source tab add folder resources
Upvotes: 1
Reputation: 32567
The name of your directory is incorrect. It should be in lowercase src/main/resources
. Maven is case sensitive.
If the directory does not exist, simply create it.
Upvotes: 2
Reputation: 4216
In my opinion you could create a new simple Maven projet checking the box with "skip archetype selection".
Anyway, you also can try right clicking your project in Project Explorer > Maven > Update project configuration. This create missing (re)source folders.
Upvotes: 2