[jbosstools-issues] [JBoss JIRA] (JBIDE-15288) Invalid persistence.xml error when opening hibernate console for JPA 2.1 project

Koen Aers (JIRA) jira-events at lists.jboss.org
Thu Oct 17 12:10:02 EDT 2013


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

Koen Aers resolved JBIDE-15288.
-------------------------------

    Resolution: Won't Fix

    
> Invalid persistence.xml error when opening hibernate console for JPA 2.1 project
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-15288
>                 URL: https://issues.jboss.org/browse/JBIDE-15288
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.1.0.CR1
>            Reporter: Jiri Peterka
>             Fix For: 4.1.1.Final
>
>
> Error while expanding JPA project with JPA 2.1
> This works ok when JPA 2.0 is used
> {code}
> org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
> Could not create JPA based Configuration
>   <No message>
>   java.lang.reflect.InvocationTargetException
>     java.lang.reflect.InvocationTargetException: <no message>
>     java.lang.reflect.InvocationTargetException
>     javax.persistence.PersistenceException: Invalid persistence.xml.
> Error parsing XML (line-1 : column -1): cvc-elt.1: Cannot find the declaration of element 'persistence'.
>     Invalid persistence.xml.
> Error parsing XML (line-1 : column -1): cvc-elt.1: Cannot find the declaration of element 'persistence'.
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list