0 Replies Latest reply on Nov 9, 2008 2:16 PM by Juan Ignacio Sánchez Lara

    groovy "unable to resolve class" error

    Juan Ignacio Sánchez Lara Apprentice

      I'm trying to use Groovy with Seam. I have created a .groovy file (a working Java entity) at hot directory. When Eclipse builds the workspace it will throw the following error:

      /home/nacho/workspace/keene/build.xml:101: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, /home/nacho/workspace/keene/src/main/es/iiso/keene/candidato/modelo/Candidato.groovy: 15: unable to resolve class es.iiso.keene.TipoCandidato
      @ line 15, column 1.
         import es.iiso.keene.TipoCandidato;
      /home/nacho/workspace/keene/src/main/es/iiso/keene/candidato/modelo/Candidato.groovy: 33: unable to resolve class LenguajeDeProgramacion
      @ line 33, column 15.
              private List<LenguajeDeProgramacion> lenguajesDeProgramacion;

      2 errors

      It looks like it can't find my own classes (es.iiso... are mine).

      The project has been generated with seam-gen.

      Any ideas?