I have a project that uses Spring and Hibernate and have both facets enabled. The web.xml of the project references Database-config.xml in the list of contextConfigLocation. In the Database-config.xml, I have:
<property name="mappingDirectoryLocations">
<value>classpath*:com/company/biz/dao/hibernate</value>
</property>
In the src directory of the package listed above, I have a fair amount of .hbm.xml files. However, when I go to try to run it in Tomcat and do a Make via IDEA building, I receive errors about not being able to resolve query parameters in some .Java files for queries that are listed in the .hbm.xml files in the directory above. I also see other errors in the source files about being unable to resolve symbols that again are defined in the .hbm.xml files which are configured.
I am thinking that IDEA is not using the configuration to be able to find the hbm.xml files. However, using mappingLocations does seem to resolve correctly.
Issue was resolved