0 Replies Latest reply on Jul 9, 2012 2:49 PM by jorge pisco

    Necesito ayuda urgente

    jorge pisco Newbie

      Hola realizando una aplicacion personal con richfaces y spring mvc, al tratar de mostrar los resultados en la pagina me dice que mi controlador es nullo.

       

      controlador:

      @Controller("joyeriaController")

       

      public class JoyeriaController implements serializable

      {

      ...

      ...

      }

       

      me podrian ayudar por favor.

       

       

       

      13:32:43,670 WARN  [lifecycle] javax.el.PropertyNotFoundException: /pages/productos.xhtml @93,100 value="#{joyeriaController.producto.descripcion}": Target Unreachable, identifier 'joyeriaController' resolved to null

      javax.faces.FacesException: javax.el.PropertyNotFoundException: /pages/productos.xhtml @93,100 value="#{joyeriaController.producto.descripcion}": Target Unreachable, identifier 'joyeriaController' resolved to null

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:714)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:246)

                at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:458)

                at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

                at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

                at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.el.PropertyNotFoundException: /pages/productos.xhtml @93,100 value="#{joyeriaController.producto.descripcion}": Target Unreachable, identifier 'joyeriaController' resolved to null

                at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)

                at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:92)

                at javax.faces.component.UIInput.getConvertedValue(UIInput.java:942)

                at javax.faces.component.UIInput.validate(UIInput.java:868)

                at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)

                at javax.faces.component.UIInput.processValidators(UIInput.java:672)

                at org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:442)

                at org.ajax4jsf.component.ContextCallbackWrapper.invokeContextCallback(ContextCallbackWrapper.java:44)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:711)

                ... 37 more

      13:32:43,672 ERROR [lifecycle] JSF1054: (Phase ID: PROCESS_VALIDATIONS 3, View ID: /pages/productos.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@536dee1a]

      13:32:43,678 INFO  [STDOUT] 13:32:43,676 ERROR [BaseXMLFilter] Exception in the filter chain

      javax.servlet.ServletException: javax.el.PropertyNotFoundException: /pages/productos.xhtml @93,100 value="#{joyeriaController.producto.descripcion}": Target Unreachable, identifier 'joyeriaController' resolved to null

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

                at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

                at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.faces.FacesException: javax.el.PropertyNotFoundException: /pages/productos.xhtml @93,100 value="#{joyeriaController.producto.descripcion}": Target Unreachable, identifier 'joyeriaController' resolved to null

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:714)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:246)

                at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:458)

                at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

                ... 26 more

      Caused by: javax.el.PropertyNotFoundException: /pages/productos.xhtml @93,100 value="#{joyeriaController.producto.descripcion}": Target Unreachable, identifier 'joyeriaController' resolved to null

                at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)

                at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:92)

                at javax.faces.component.UIInput.getConvertedValue(UIInput.java:942)

                at javax.faces.component.UIInput.validate(UIInput.java:868)

                at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)

                at javax.faces.component.UIInput.processValidators(UIInput.java:672)

                at org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:442)

                at org.ajax4jsf.component.ContextCallbackWrapper.invokeContextCallback(ContextCallbackWrapper.java:44)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:711)

                ... 37 more

      13:32:43,678 ERROR [[Faces Servlet]] Servlet.service() para servlet Faces Servlet lanzó excepción

      javax.el.PropertyNotFoundException: /pages/productos.xhtml @93,100 value="#{joyeriaController.producto.descripcion}": Target Unreachable, identifier 'joyeriaController' resolved to null

                at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)

                at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:92)

                at javax.faces.component.UIInput.getConvertedValue(UIInput.java:942)

                at javax.faces.component.UIInput.validate(UIInput.java:868)

                at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)

                at javax.faces.component.UIInput.processValidators(UIInput.java:672)

                at org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:442)

                at org.ajax4jsf.component.ContextCallbackWrapper.invokeContextCallback(ContextCallbackWrapper.java:44)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:711)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)

                at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)

                at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:246)

                at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:458)

                at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

                at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

                at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                at java.lang.Thread.run(Thread.java:662)