2 Replies Latest reply: Jul 5, 2013 6:56 AM by Georgi Gyurchev RSS

Seam 2.3.0Beta1 + JbossAS7 +JSF1.2

Joseba Urkiri Newbie

Hi All,

 

I've some project developed using Seam 2.2.2, and now I'm triying to migrate theme to Seam 2.3.0. Do I have to migrate to JSF2 or is can I configure it to use JSF1.2?

 

I'm getting this error when deploying my app.

 

 

12:54:30,122 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/DescargasUI].[Faces Servlet]] (http--127.0.0.1-8080-1) Servlet.service() para servlet Faces Servlet lanzó excepción: java.lang.NoSuchMethodError: javax.faces.component.UIViewRoot.getViewMap()Ljava/util/Map;
          at org.jboss.seam.contexts.PageContext.getOrCreateViewMap(PageContext.java:154) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.contexts.PageContext.<init>(PageContext.java:47) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.contexts.FacesLifecycle.resumePage(FacesLifecycle.java:180) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.contexts.Contexts.isPageContextActive(Contexts.java:114) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:208) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.Component.getInstance(Component.java:1985) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.Component.getInstance(Component.java:1980) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.Component.getInstance(Component.java:1975) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.core.ConversationIdGenerator.instance(ConversationIdGenerator.java:24) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.util.Id.nextId(Id.java:10) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.core.Manager.generateInitialConversationId(Manager.java:662) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.faces.FacesManager.generateInitialConversationId(FacesManager.java:122) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.core.Manager.initializeTemporaryConversation(Manager.java:654) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:102) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:70) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Beta1.jar:]
          at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.3.0.Beta1.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.3.Final.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.3.Final.jar:]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.3.Final.jar:]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.3.Final.jar:]
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.3.Final.jar:]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.0.Beta1b.jar:]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:151) [jboss-as-web-7.1.0.Beta1b.jar:]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.3.Final.jar:]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.3.Final.jar:]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.3.Final.jar:]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.3.Final.jar:]
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.3.Final.jar:]
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.3.Final.jar:]
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.3.Final.jar:]
          at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]

 

Thanks in advance.

 

Joseba