You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by GitBox <gi...@apache.org> on 2022/12/16 18:53:55 UTC

[GitHub] [myfaces] melloware commented on pull request #436: Integration Tests

melloware commented on PR #436:
URL: https://github.com/apache/myfaces/pull/436#issuecomment-1355421346

   @tandraschko here is the error I am getting locally. I had to update some JARS just to get this far in Inegration tests but it seems like some kind of Tomcat servlet mismatch.
   
   ```
   org.apache.catalina.core.ApplicationSessionCookieConfig 
   does not define or inherit an implementation of the resolved method 
   abstract java.lang.String getAttribute(java.lang.String)' of interface jakarta.servlet.SessionCookieConfig.
   ```
   
   Full stack:
   ```
   SEVERE: Servlet.service() for servlet [FacesServlet] in context with path [/faceletToXhtmlMapping-4.0.0-SNAPSHOT] threw exception [Receiver class org.apache.catalina.core.ApplicationSessionCookieConfig does not define or inherit an implementation of the resolved method 'abstract java.lang.String getAttribute(java.lang.String)' of interface jakarta.servlet.SessionCookieConfig.] with root cause
   java.lang.AbstractMethodError: Receiver class org.apache.catalina.core.ApplicationSessionCookieConfig does not define or inherit an implementation of the resolved method 'abstract java.lang.String getAttribute(java.lang.String)' of interface jakarta.servlet.SessionCookieConfig.
           at org.apache.myfaces.context.flash.FlashImpl._createFlashCookie(FlashImpl.java:1194)
           at org.apache.myfaces.context.flash.FlashImpl._saveRenderFlashMapTokenForNextRequest(FlashImpl.java:774)
           at org.apache.myfaces.context.flash.FlashImpl._manageFlashMapTokens(FlashImpl.java:889)
           at org.apache.myfaces.context.flash.FlashImpl.doPrePhaseActions(FlashImpl.java:197)
           at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:155)
           at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125)
           at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:224)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:159)
           at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org