Board index » jbuilder » Ejb generated code does not compil !!!???
Frédéric Dal
JBuilder Developer |
Ejb generated code does not compil !!!???2003-08-29 10:17:04 PM jbuilder24 i made a EAR module and then a EJB module inside... I create my CMP 2.0 from my schema and then i use the dto/facade wizard which generate all the stuff ! But !! When i try to 'make' my ejb module, i got a full list of errors .... here is the code generated: **************************************************************************** ****** public interface UtilisateurSessionFacade extends javax.ejb.EJBObject public void createUtilisateur(UtilisateurDto utilisateurDto) throws RemoteException; public void removeUtilisateur(BigDecimal idUser) throws RemoteException; public void updateUtilisateur(UtilisateurDto utilisateurDto) throws RemoteException; public void updateUtilisateurs(UtilisateurDto[] utilisateurDtos) throws RemoteException; public UtilisateurDto utilisateurFindByPrimaryKey(BigDecimal idUser) throws RemoteException;{ } **************************************************************************** ****** and here are, of course, the first errors : a.. "UtilisateurSessionFacade.java": '{' expected at line 8, column 70 b.. "UtilisateurSessionFacade.java": illegal start of type at line 14, column 95 c.. "UtilisateurSessionFacade.java": expected at line 20, column 2 d.. "UtilisateurSessionFacadeLocal.java": Package C:\Documents and Settings\fdal\jbproject\agape\src\com\steria\agape\service\sses\local\Utilis ateurSessionFacadeLocal.java stated in source com.steria.agape.service.sses does not match directory C:\Documents and Settings\....\service\sses\local\UtilisateurSessionFacadeLocal.java. at line 1, column 34 e.. "UtilisateurSessionFacadeLocalHome.java": Package C:\Documents and Settings\fdal\jbproject\agape\src\com\steria\agape\service\sses\local\Utilis ateurSessionFacadeLocalHome.java stated in source com.steria.agape.service.sses does not match directory C:\Documents and Settings\....\service\sses\local\UtilisateurSessionFacadeLocalHome.java. at line 1, column 34 f.. "UtilisateurSessionFacadeBean.java": cannot resolve symbol: class UtilisateurHome in package local at line 5, column 37 g.. "UtilisateurSessionFacadeBean.java": cannot resolve symbol: class Utilisateur in package local at line 16, column 37 h.. etc... Is there a upgrade (different from upgrade 002 that i installed) or a patch that has to be applied ? Is my procedure ok ? Help !!! |