[jboss-jira] [JBoss JIRA] (AS7-6925) ignore CNFE when scanning for entity classes in deployment

Scott Marlow (JIRA) jira-events at lists.jboss.org
Tue Apr 16 17:50:53 EDT 2013


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

Scott Marlow updated AS7-6925:
------------------------------

    Attachment: cnfe.jar


cnfe.jar is a simple deployment that contains an entity Employee that depends on class Gone.  Class Gone is not present in the deployment, so we will see a "java.lang.ClassNotFoundException: Gone" exception during deployment from org.jboss.as.jpa.hibernate4.HibernateAnnotationScanner.getClassesInJar(HibernateAnnotationScanner.java:237)
                
> ignore CNFE when scanning for entity classes in deployment
> ----------------------------------------------------------
>
>                 Key: AS7-6925
>                 URL: https://issues.jboss.org/browse/AS7-6925
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.1.2.Final (EAP), 7.1.3.Final (EAP), EAP 6.1.0.Alpha (7.2.0.Final)
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 8.0.0.Alpha1
>
>         Attachments: cnfe.jar
>
>
> Deployments may contain non-entity classes that can not be loaded (see above forum reference for example).

--
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 jboss-jira mailing list