lujiajing1126 commented on PR #704: URL: https://github.com/apache/skywalking-java/pull/704#issuecomment-2220899988
> > Normally, you should not use old servlet-api together with Spring 6.x/Tomcat 10.x which is using Jakarta API, > > Could we find some information about this? Such as whether Spring 6 or Tomcat 10 docs mentioned this? As this could run, whether Spring and Tomcat embed compatible logic. From the official migration guide, quoted, "Due to the Jakarta EE migration, make sure to upgrade to Tomcat 10, Jetty 11, or Undertow 2.2.19 with the undertow-servlet-jakarta artifact, alongside switching your javax.servlet imports to jakarta.servlet (Jakarta EE 9). For the latest server generations, consider Tomcat 10.1 and Undertow 2.3 (Jakarta EE 10). Several outdated Servlet-based integrations have been dropped: e.g. Apache Commons FileUpload (org.springframework.web.multipart.commons.CommonsMultipartResolver), and Apache Tiles as well as FreeMarker JSP support in the corresponding org.springframework.web.servlet.view subpackages. We recommend org.springframework.web.multipart.support.StandardServletMultipartResolver for multipart file uploads and regular FreeMarker template views if needed, and a general focus on REST-oriented web architectures." https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x/10747c0695774ef4dd3c3bbe4f6d4dde96168b08 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
