My mistake! I realize that my ejb-jar(JPA entity) was using an annotation that its JAR was inside of WAR. I should put tapestry5-annotations.jar in the jboss/server/default/lib so I did then it worked !!
Lucas On Wed, Nov 5, 2008 at 10:08 AM, Lucas Silva <[EMAIL PROTECTED]> wrote: > Hi, > I spent yesterday looking for a solution and I did not find. > > So, > > I have this tree in a WAR package: > | | | `-- epcsato > | | | |-- components > | | | | `-- TEsteaAcs.class > | | | |-- pages > | | | | |-- Index.class > | | | | `-- co > | | | | |-- CreateCo.class > | | | | `-- CreateCo.properties > | | | |-- services > | | | | |-- AppModule$1.class > | | | | |-- AppModule.class > | | | | |-- BusinessServicesLocator.class > | | | | `-- IBusin... > > And in a JAR package: > | | `-- epcsato > | | `-- entities > | | `-- Co.class > > The problem is the annotations like @NonVisual , @Validate , @Width > ... do not work. > BUT if I put the Co.class in the WAR it works. > > This way works: > | | | `-- epcsato > | | | |-- components > | | | | `-- TEsteaAcs.class > | | | |-- entities > | | | | `-- Co.class > | | | |-- pages > | | | | |-- Index.class > | | | | `-- co > | | | | |-- CreateCo.class > | | | | `-- CreateCo.properties > | | | |-- services > | | | | |-- AppModule$1.cla... > > > I'm using those JAR and WAR in an EAR package. > > > Lucas >