2 Replies Latest reply on Feb 24, 2006 2:55 AM by Manuel Aznar Pérez

    Cannot get value for expression

    Manuel Aznar Pérez Newbie

      It deploy fine.

      Some errors in log :

      FATAL [org.hibernate.ejb.packaging.PersistenceXmlLoader] entityManager JTA



      But show this error in all jsf files :
      javax.servlet.ServletException: Cannot get value for expression '#{usuarioEditor.new}'


      And jboss log :

      17:14:48,757 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.entity.InjectedEntityManagerFactory



      In other page :

      javax.faces.FacesException: Cannot get value for expression '#{usuarioFinder.example.usuario}'


      At jboss log :

      17:16:16,994 WARN [SeamVariableResolver] Seam component hides managed bean with
       same name
      17:16:17,064 WARN [SeamVariableResolver] Seam component hides managed bean with
       same name
      17:16:17,305 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
      .PRETTY_HTML' found, using default value true
      17:16:17,305 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
      .ALLOW_JAVASCRIPT' found, using default value true
      17:16:17,305 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
      .DETECT_JAVASCRIPT' found, using default value false
      17:16:17,305 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
      .AUTO_SCROLL' found, using default value false
      17:16:17,325 WARN [HtmlLabelRenderer] Unable to find component 'usuario' (calli
      ng findComponent on component '_id2:_id13')
      17:16:17,385 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.entity.
      InjectedEntityManagerFactory



      I deploy seam examples and work fine.

      I use source code generated by JBossIDE.

      Why don't work, anyone idea?