]
Max Rydahl Andersen updated JBIDE-18181:
----------------------------------------
Priority: Blocker (was: Major)
Errors when hibernate.cfg.xml not at classpath root
---------------------------------------------------
Key: JBIDE-18181
URL:
https://issues.jboss.org/browse/JBIDE-18181
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Environment: Ubuntu Trusty, Eclipse Luna, OpenJDK 7, Hibernate Tools
3.8.0.CR1-v20140826-1536-B599, Hibernate 4.1.12
Reporter: Luke Maurer
Priority: Blocker
If a project keeps its hibernate.cfg.xml anywhere besides the root of the classpath,
Hibernate Tools will not recognize it. In the Hibernate Configurations tree, expanding
either Session Factory or Database gives an error ending in “/hibernate.cfg.xml not
found”. (The Configuration subtree appears to work.)
As a workaround, if I go into the directory holding WEB-INF/classes (i.e. where compiled
Java bytecode goes) and symlink hibernate.cfg.xml there, it seems to work.