[jbosstools-issues] [JBoss JIRA] (JBIDE-18181) Errors when hibernate.cfg.xml not at classpath root

Luke Maurer (JIRA) issues at jboss.org
Fri Aug 29 00:13:59 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-18181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Maurer updated JBIDE-18181:
--------------------------------
    Summary: Errors when hibernate.cfg.xml not at classpath root  (was: Errors when hibernate.cfg.html not at classpath root)


> 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
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the jbosstools-issues mailing list