I am upgrading Jetty from version 9.4.53.v20231009 to 12.0.9 I have upgraded Java from version 11 to 17 I have following questions:
- For jetty-annotations, jetty-webapp and jetty-servlets 12.0.9 version is not available, the last version available is 11.0.24
- I am getting following error: SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. 2025-02-05 01:16:15,929 ERROR cli.ClusterCommands: list: cluster feature list Exception in thread "main" java.lang.InstantiationError: org.eclipse.jetty.util.Pool at org.eclipse.jetty.xml.XmlConfiguration.(XmlConfiguration.java:99)
I also tried updating the jetty.xml to be used with version 12.0.9, but it may not be correct:
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN"
".dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<!-- =========================================================== -->
<!-- Server Thread Pool -->
<!-- =========================================================== -->
<Get name="ThreadPool">
<Set name="minThreads">4</Set>
<Set name="maxThreads">200</Set>
<Set name="idleTimeout">30000</Set>
</Get>
</Configure>