Description
https://lists.apache.org/thread/nwnhygmwoodbmx8f5j0rtm5wgy21p5kr
Hi, in parent pom.xml you are referencing <jakarta.servlet-api.version>6.0.0</jakarta.servlet-api.version> but here you state that Servlet 5+ is required: https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+10.0#MigrationtoWicket10.0-Wicket10requiresServlet5+ I've been bitten by this today when users couldn't sign in the app as CookieUtils.initializeCookie uses 6.0.0 api, start of the stacktrace: java.lang.NoSuchMethodError: 'void jakarta.servlet.http.Cookie.setAttribute(java.lang.String, java.lang.String)' at org.apache.wicket.util.cookies.CookieUtils.initializeCookie(CookieUtils.java:341) at org.apache.wicket.util.cookies.CookieUtils.save(CookieUtils.java:294) at org.apache.wicket.util.cookies.CookieUtils.save(CookieUtils.java:168) at org.apache.wicket.authentication.strategy.DefaultAuthenticationStrategy.save(DefaultAuthenticationStrategy.java:148) Cookie.setAttribute is not present in 5.0.0 jservlet-api.
Attachments
Issue Links
- links to