[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2498) seam-gen generate-entities java.lang.ClassNotFoundException:

nathan dennis (JIRA) jira-events at lists.jboss.org
Tue Jan 15 00:56:18 EST 2008

seam-gen generate-entities  java.lang.ClassNotFoundException:

                 Key: JBSEAM-2498
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2498
             Project: JBoss Seam
          Issue Type: Bug
    Affects Versions: 2.0.1.GA
         Environment: Linux, Jboss 4.2.1, Postgres 8.1.5, postgresql-8.1-411.jdbc3.jar
            Reporter: nathan dennis

 java.lang.ClassNotFoundException when trying to generate entities from existing tables in the DB.

[hibernate] INFO: Hibernate Annotations 3.3.0.GA
[hibernate] Jan 14, 2008 3:11:43 PM org.hibernate.ejb.Version <clinit>
[hibernate] INFO: Hibernate EntityManager 3.3.1.GA
[hibernate] An exception occurred while running exporter #2:generic exportertemplate: view/list.xhtm
[hibernate] To get the full stack trace run ant with -verbose
[hibernate] Problems in creating a configuration for JPA. Have you remembered to add hibernate Entit
yManager jars to the classpath ?
[hibernate] java.lang.reflect.InvocationTargetException
[hibernate] javax.persistence.PersistenceException: [PersistenceUnit: mysite] class or package not f
[hibernate] java.lang.ClassNotFoundException: com.mysite.model.UserAccount
[hibernate] A class were not found in the classpath of the Ant task.

it is looking for a class com.mysite.model.UserAccount that should not exist and should not be called for this action.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list