I need help!!! My configuration is: JBoss 3.2.5, PostgreSQL 7.4 and Eclipse 3 I'm trying make deploy and hapened this error:
11:26:02,361 INFO [EjbModule] Deploying DisciplinaEntity 11:26:02,875 INFO [EjbModule] Deploying CursoEntity 11:26:02,939 INFO [EjbModule] Deploying DisciplinaSession 11:26:03,520 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=DisciplinaEntity,service=EJB org.jboss.deployment.DeploymentException: Entity: br.com.unasp.appserver.entity.CursoEntity not found for relation: Disciplina-Curso at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:103) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:139) at This tag code is CursoEntity: /** * @ejb.interface-method * view-type="local" * * @ejb.relation * name="Curso-Disciplina" * role-name="Curso-has-Many-Disciplinas" * target-multiple="yes" * target-ejb="br.com.unasp.appserver.entity.DisciplinaEntity" * * @jboss.relation-mapping * style="relation-table * * @jboss.relation-table * table-name="Grade_do_Curso" * create-table="false" * remove-table="false" * * @jboss.relation * related-pk-field="CODIGO_DISCIPLINA" * related-pk-field="CODIGO_CURSO" * related-pk-field="ANO_CURSO" * fk-column="CODIGO_DISCIPLINA" * fk-constraint="true" * fk-column="CODIGO_CURSO" * fk-constraint="true" * fk-column="ANO_CURSO" * fk-constraint="true" **/ public abstract java.util.Collection getDisciplinas(); This tag code is DisciplinaEntity: * @ejb.relation * name="Disciplina-Curso" * role-name="Disciplina-used-by-Many-Cursos" * target-multiple="yes" * target-ejb="br.com.unasp.appserver.entity.CursoEntity" * * @jboss.relation-mapping * style="relation-table * * @jboss.relation-table * table-name="Grade_do_Curso" * create-table="false" * remove-table="false" * * @jboss.relation * related-pk-field="CODIGO_DISCIPLINA" * related-pk-field="CODIGO_CURSO" * related-pk-field="ANO_CURSO" * fk-column="CODIGO_DISCIPLINA" * fk-constraint="true" * fk-column="CODIGO_CURSO" * fk-constraint="true" * fk-column="ANO_CURSO" * fk-constraint="true" * -- * <!-- end-xdoclet-definition --> * @generated */ public abstract java.lang.String getCodigoDisciplina(); Thanks, Carlos. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user