no
I have confirmed that it works only with Java8 + GWT sdk 2.8 or 2.9.
When using JDK17, the following error is displayed.
It's been discussed in the thread, but I think it's probably a problem with
Jetty's JDK support.
I don't understand the details.
The stack trace is shown below.
*
Running CodeServer with parameters: [-noprecompile, -port, 9876,
-sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir,
C:\pleiades-2022-12-java-win-64bit-jre_20230124\workspace\GWT29_JDK11\war,
-logLevel, INFO, -style, OBFUSCATED, kut.hp_rc.GWT29_JDK11]
Super Dev Mode starting up
workDir:
C:\Users\kazuo\AppData\Local\Temp\gwt-codeserver-7013139281438506203.tmp
2023-02-08 07:28:33.263:INFO::main: Logging initialized @2024ms
Loading Java files in kut.hp_rc.GWT29_JDK11.
Module setup completed in 2803 ms
2023-02-08 07:28:35.350:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
2023-02-08 07:28:35.373:INFO:oejsh.ContextHandler:main: Started
o.e.j.s.ServletContextHandler@7bbec1cc{/,null,AVAILABLE}
2023-02-08 07:28:35.408:INFO:oejs.ServerConnector:main: Started
ServerConnector@5324647{HTTP/1.1}{127.0.0.1:9876}
2023-02-08 07:28:35.408:INFO:oejs.Server:main: Started @4170ms
The code server is ready at http://127.0.0.1:9876/
Code server started in 3.106 s ms
[ERROR] jreLeakPrevention.gcDaemonFail
java.lang.ClassNotFoundException: sun.misc.GC
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at
com.google.gwt.dev.shell.jetty.JettyLauncher.jreLeakPrevention(JettyLauncher.java:899)
at
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:722)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:636)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:898)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:705)
at com.google.gwt.dev.DevMode.main(DevMode.java:432)
2023-02-08 07:28:35.606:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
Starting Jetty on port
[WARN] Failed startup of context
c.g.g.d.s.j.WebAppContextWithReload@65d26881{/,file:/C:/pleiades-2022-12-java-win-64bit-jre_20230124/workspace/GWT29_JDK11/war/,STARTING}{C:\pleiades-2022-12-java-win-64bit-jre_20230124\workspace\GWT29_JDK11\war}
MultiException[java.lang.RuntimeException: Error scanning file
GWT29_JDK11$1.class, java.lang.RuntimeException: Error scanning file
GWT29_JDK11$1MyHandler$1.class, java.lang.RuntimeException: Error scanning
file GWT29_JDK11$1MyHandler.class, java.lang.RuntimeException: Error
scanning file GWT29_JDK11.class]
at
org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:536)
at
org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:447)
at
org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:479)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1337)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at
com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:550)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at
org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:140)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:760)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:636)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:898)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:705)
at com.google.gwt.dev.DevMode.main(DevMode.java:432)