Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Isomorphic
    replied
    This isn't related to SmartGWT, but as a quick guess, you probably have .jar files from an older version of Jetty sitting somewhere in your classpath.

    Leave a comment:


  • Error with org.eclipse.jetty.server.ServerConnector.setSoLingerTime(int)

    Hi Team,


    Compiling GWT application built with SmartGWT- 13.0, Spring- 6.0.0, Java - 17.0.5, Eclipse Jetty - 11.0.15, Apache maven - 3.8.3 and getting the below error after jetty server launch

    [INFO] Loading Java files in com.xxx.xxx.abc.abc.
    [INFO] Ignored 80 units with compilation errors in first pass.
    [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    [INFO] Module setup completed in 52079 ms
    [ERROR] java.lang.NoSuchMethodError: 'void org.eclipse.jetty.server.ServerConnector.setSoLingerTime(int)'
    [ERROR] at com.google.gwt.dev.codeserver.WebServer.start(WebServer.java:126)
    [ERROR] at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:162)
    [ERROR] at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:104)
    [ERROR] at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:55)
    [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    [ERROR] at com.google.gwt.dev.shell.SuperDevListener.runCodeServer(SuperDevListener.java:112)
    [ERROR] at com.google.gwt.dev.shell.SuperDevListener.start(SuperDevListener.java:91)
    [ERROR] at com.google.gwt.dev.DevMode.ensureCodeServerListener(DevMode.java:666)
    [ERROR] at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:810)
    [ERROR] at com.google.gwt.dev.DevMode.doStartup(DevMode.java:551)
    [ERROR] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:913)
    [ERROR] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:706)
    [ERROR] at com.google.gwt.dev.DevMode.main(DevMode.java:432)

    Could you please help me to solve this error?



    Thanks in advance
Working...
X