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 8888
   [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)
Caused by: 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.AnnotationParser.parseDir(AnnotationParser.java:681)
    at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
    at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
    at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
    at 
org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:824)
    at 
org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
    at 
org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
    at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.base/java.lang.Thread.run(Thread.java:829)
    Suppressed: java.lang.RuntimeException: Error scanning file 
GWT29_JDK11$1MyHandler$1.class
        at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
        ... 9 more
    Caused by: java.lang.UnsupportedOperationException: This feature 
requires ASM7
        at 
org.objectweb.asm.ClassVisitor.visitNestHost(ClassVisitor.java:150)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:550)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
        at 
org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
        at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
        ... 9 more
    Suppressed: java.lang.RuntimeException: Error scanning file 
GWT29_JDK11$1MyHandler.class
        at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
        ... 9 more
    Caused by: java.lang.UnsupportedOperationException: This feature 
requires ASM7
        at 
org.objectweb.asm.ClassVisitor.visitNestHost(ClassVisitor.java:150)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:550)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
        at 
org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
        at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
        ... 9 more
    Suppressed: java.lang.RuntimeException: Error scanning file 
GWT29_JDK11.class
        at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
        ... 9 more
    Caused by: java.lang.UnsupportedOperationException: This feature 
requires ASM7
        at 
org.objectweb.asm.ClassVisitor.visitNestMember(ClassVisitor.java:236)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:660)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
        at 
org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
        at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
        ... 9 more
Caused by: java.lang.RuntimeException: Error scanning file 
GWT29_JDK11$1.class
    at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
    ... 9 more
Caused by: java.lang.UnsupportedOperationException: This feature requires 
ASM7
    at org.objectweb.asm.ClassVisitor.visitNestHost(ClassVisitor.java:150)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:550)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
    at 
org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
    at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
    ... 9 more
2023-02-08 07:28:37.073:INFO:oejs.ServerConnector:main: Started 
ServerConnector@33f918c3{HTTP/1.1}{127.0.0.1:8888}
2023-02-08 07:28:37.073:INFO:oejs.Server:main: Started @5835ms

2023年2月8日水曜日 4:25:02 UTC+9 [email protected]:

> Thanks very much for your suggestion!
>
> Therefore, we're going to use the update site below to install GWT Plugin 
> 4.0. Please correct me if it is not right.
> https://eclipse.gwtproject.org.vertispan.com/2023-02-01
>
> BTW, does it work with JDK 11? We're using GWT 2.9 version and it needs 
> JDK 11 for local debugging.
>
> In addition, I checked the discussion site. It seems that the updated site 
> is still not available in the Eclipse marketplace yet.
>
> thanks,
> Jenny
>
>
>
> On Monday, February 6, 2023 at 10:41:15 PM UTC-6 hprc wrote:
>
>> GWT Plugin 4.0 is a test but has been released.
>> https://eclipse.gwtproject.org.vertispan.com/2023-02-01
>> In my environment, by setting the compiler and facet to Java8, I have 
>> confirmed that it works on 2022-12 as well.
>>
>> Also, the GWT-eclipse-plugin is discussed at the following URL.
>> https://gitter.im/gwt-plugins/gwt-eclipse-plugin
>>
>> 2023年2月7日火曜日 1:29:18 UTC+9 [email protected]:
>>
>>> We tried to install GWT plugin 3.0 from Eclipse market place on a new 
>>> laptop for 
>>> Eclipse Version: 2020-06 (4.16.0), but we got the following not 
>>> available error message.
>>>
>>> This approach worked several months ago, so we're not sure why we got 
>>> this error now.
>>> Please help give some suggestions for this issue.
>>>
>>> [image: GWTPluginError.jpg]
>>>
>>> Your help is much appreciated!
>>>
>>> thanks,
>>> Jenny
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/2d3da7fb-67f2-4847-a679-7cc704534fefn%40googlegroups.com.

Reply via email to