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

Koen Aers (JIRA) issues at jboss.org
Wed Sep 3 07:41:00 EDT 2014


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

Koen Aers updated JBIDE-18181:
------------------------------
    Labels: respin-a  (was: )


> 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
>            Assignee: Max Rydahl Andersen
>            Priority: Blocker
>              Labels: respin-a
>             Fix For: 4.2.0.CR1
>
>
> 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