On 04/05/2023 19:16, Dimitris Soumis wrote:
I am getting the following error (multiple times) when running the tests:
Platform? Java version? build.properties settings? Mark
[junit] Running org.apache.catalina.connector.TestRequest [junit] 04-May-2023 17:04:29.019 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testGetReaderValidEncoding] [junit] 04-May-2023 17:04:29.229 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] [junit] 04-May-2023 17:04:29.241 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] [junit] 04-May-2023 17:04:29.241 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M6] [junit] 04-May-2023 17:04:29.285 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33153"] [junit] 04-May-2023 17:04:29.314 SEVERE [http-nio-127.0.0.1-auto-1-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored [junit] java.lang.NoClassDefFoundError: org/apache/tomcat/util/http/ValuesEnumerator [junit] at org.apache.tomcat.util.http.MimeHeaders.values(MimeHeaders.java:253) [junit] at org.apache.coyote.http11.Http11Processor.isConnectionToken(Http11Processor.java:1082) [junit] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:324) [junit] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [junit] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894) [junit] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1742) [junit] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [junit] at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [junit] at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) [junit] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [junit] at java.base/java.lang.Thread.run(Thread.java:833) [junit] Caused by: java.lang.ClassNotFoundException: org.apache.tomcat.util.http.ValuesEnumerator [junit] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) [junit] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) [junit] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) [junit] ... 11 more On Wed, May 3, 2023 at 9:46 PM Mark Thomas <[email protected]> wrote:The proposed Apache Tomcat 11.0.0-M6 release is now available for voting. Apache Tomcat 11.0.0-M6 is a milestone release of the 11.0.x branch and has been made to provide users with early access to the new features in Apache Tomcat 11.0.x so that they may provide feedback. The notable changes compared to the previous milestone include: - Various improvements to access logging. - Remove support for the HTTP Connector settings rejectIllegalHeader and allowHostHeaderMismatch. These are now hard-coded to the previous defaults. - Update the packaged version of the Tomcat Migration Tool for Jakarta EE to 1.0.7. For full details, see the change log: https://nightlies.apache.org/tomcat/tomcat-11.0.x/docs/changelog.html Applications that run on Tomcat 9 and earlier will not run on Tomcat 11 without changes. Java EE applications designed for Tomcat 9 and earlier may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat will automatically convert them to Jakarta EE and copy them to the webapps directory. Applications using deprecated APIs may require further changes. It can be obtained from: https://dist.apache.org/repos/dist/dev/tomcat/tomcat-11/v11.0.0-M6/ The Maven staging repo is: https://repository.apache.org/content/repositories/orgapachetomcat-1432 The tag is: https://github.com/apache/tomcat/tree/11.0.0-M6 9ce010463a93138d596c54c67b11cdb35fc8244a The proposed 11.0.0-M6 release is: [ ] Broken - do not release [ ] Alpha - go ahead and release as 11.0.0-M6 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
