0 Replies Latest reply on Nov 21, 2012 2:26 AM by Erdem YILMAZ

    Upgrade from 4.2.3.Final to 4.3.0.M2 breaks with myfaces 2.1.7

    Erdem YILMAZ Newbie

      Hi,

      We have trying our application with the new M3 release but have error in all simple pages. did we miss a dependency for the new release?

       

      We use following configuration:

      Tomee 1.0.0

      MyFaces 2.1.7

       

      Maven pom.xml :

      <properties>

                          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

                          <jdk.version>1.6</jdk.version>

                          <org.richfaces.bom.version>4.3.0.20121024-M2</org.richfaces.bom.version>

                </properties>

                <dependencyManagement>

                          <dependencies>

                                    <dependency>

                                              <groupId>org.richfaces</groupId>

                                              <artifactId>richfaces-bom</artifactId>

                                              <version>${org.richfaces.bom.version}</version>

                                              <scope>import</scope>

                                              <type>pom</type>

                                    </dependency>

                          </dependencies>

                </dependencyManagement>

       

      <dependencies>

      <dependency>

      <groupId>org.richfaces.core</groupId>

      <artifactId>richfaces-core-impl</artifactId>

      </dependency>

      <dependency>

      <groupId>org.richfaces.uş</groupId>

      <artifactId>richfaces-components-ui</artifactId>

      </dependency>

       



      <dependency>



      <groupId>org.hibernate</groupId>



      <artifactId>hibernate-validator</artifactId>



      <version>4.3.0.Final</version>



      <scope>provided</scope>



      <exclusions>




      <exclusion>





      <groupId>org.slf4j</groupId>





      <artifactId>slf4j-api</artifactId>




      </exclusion>



      </exclusions>


      </dependency>

       

       

          

      Here is the error details:

      Throwable occurred: javax.faces.FacesException: Unknown validator id 'org.richfaces.validator.SelectLabelValueValidator'.

                at org.apache.myfaces.application.ApplicationImpl.createValidator(ApplicationImpl.java:1873)

                at javax.faces.application.ApplicationWrapper.createValidator(ApplicationWrapper.java:176)

                at org.richfaces.component.AbstractSelect.processEvent(AbstractSelect.java:120)

                at javax.faces.component.UIComponent$EventListenerWrapper.processEvent(UIComponent.java:1531)

                at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)

                at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2368)

                at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:574)

                at javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:330)

                at javax.faces.component.UIComponentBase._publishPostAddToViewEvent(UIComponentBase.java:233)

                at javax.faces.component.UIComponentBase._publishPostAddToViewEvent(UIComponentBase.java:252)

                at javax.faces.component.UIComponentBase._publishPostAddToViewEvent(UIComponentBase.java:252)

                at javax.faces.component.UIComponentBase._publishPostAddToViewEvent(UIComponentBase.java:252)

                at javax.faces.component.UIComponentBase.setParent(UIComponentBase.java:213)

                at javax.faces.component._ComponentChildrenList.updateParent(_ComponentChildrenList.java:132)

                at javax.faces.component._ComponentChildrenList.add(_ComponentChildrenList.java:82)

                at javax.faces.component._ComponentChildrenList.add(_ComponentChildrenList.java:33)

                at org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate.apply(ComponentTagHandlerDelegate.java:357)

                at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:53)

                at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:49)

                at org.apache.myfaces.view.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:57)

                at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:49)

                at org.apache.myfaces.view.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:48)

                at org.apache.myfaces.view.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:394)

                at org.apache.myfaces.view.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:448)

                at org.apache.myfaces.view.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:426)

                at org.apache.myfaces.view.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:244)

                at org.apache.myfaces.view.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:148)

                at org.apache.myfaces.view.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:57)

                at org.apache.myfaces.view.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:48)

                at org.apache.myfaces.view.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:179)

                at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.buildView(FaceletViewDeclarationLanguage.java:441)

                at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:78)

                at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)

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

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

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

                at tr.com.teb.core.base.presentation.filter.PrePostConfigFilter.doFilter(PrePostConfigFilter.java:126)

                at tr.com.teb.core.base.common.filter.AbstractBaseFilter.doFilter(AbstractBaseFilter.java:34)

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

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

                at tr.com.teb.core.base.presentation.filter.IDMCasFilter.doFilter(IDMCasFilter.java:202)

                at tr.com.teb.core.base.common.filter.AbstractBaseFilter.doFilter(AbstractBaseFilter.java:34)

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

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

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

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

                at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

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

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

                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)

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

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

                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)

                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)

                at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)

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

       

       

      kind regards,

      Erdem