SDM not running any more!

716 views
Skip to first unread message

marian lux

unread,
Apr 20, 2016, 6:49:03 AM4/20/16
to GWT Users
When I try tor get SDM on my GWT project running, I always get this output on console:

Runing CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.7, -bindAddress, 0.0.0.0, -launcherDir, /home/marian/workspace_oha_mgwt/oha/target/oha-1.0-SNAPSHOT, -logLevel, INFO, at.mlux.oha]
Super Dev Mode starting up
   workDir
: /tmp/gwt-codeserver-4503114881501533286.tmp
   
[WARN] Deactivated PrecompressLinker
2016-04-20 12:42:24 INFO  log:186 - Logging initialized @3880ms
   
Loading Java files in at.mlux.oha.
Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.jetty.server.AbstractConnector: method <init>()V not found
    at org
.eclipse.jetty.server.nio.AbstractNIOConnector.<init>(AbstractNIOConnector.java:30)
    at org
.eclipse.jetty.server.nio.SelectChannelConnector.<init>(SelectChannelConnector.java:82)
    at com
.google.gwt.dev.shell.jetty.JettyLauncher.getConnector(JettyLauncher.java:803)
    at com
.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:729)
    at com
.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)
    at com
.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)
    at com
.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
    at com
.google.gwt.dev.DevMode.main(DevMode.java:413)
   
Module setup completed in 4594 ms
java
.lang.NoSuchMethodError: org.eclipse.jetty.server.AbstractConnector: method <init>()V not found
    at org
.eclipse.jetty.server.nio.AbstractNIOConnector.<init>(AbstractNIOConnector.java:30)
    at org
.eclipse.jetty.server.nio.SelectChannelConnector.<init>(SelectChannelConnector.java:82)
    at com
.google.gwt.dev.codeserver.WebServer.start(WebServer.java:119)
    at com
.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:128)
    at com
.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:91)
    at com
.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:50)
    at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java
.lang.reflect.Method.invoke(Method.java:498)
    at com
.google.gwt.dev.shell.SuperDevListener$1.run(SuperDevListener.java:84)


No difference which GWT version I am using. 2.7.0 or 2.8.0-beta1.
GWT compile works.

I think the jetty version is wrong but how to fix this?
I can add my pom if desired.

marian lux

unread,
Apr 20, 2016, 6:50:26 AM4/20/16
to GWT Users
Note: I use Eclipse (4.5.2) with GWT Plugin.

marian lux

unread,
Apr 20, 2016, 9:18:26 AM4/20/16
to GWT Users
Fixed after removing the following lines in my pom.xml

<dependency>
           
<groupId>com.google.gwt</groupId>
           
<artifactId>gwt-user</artifactId>
           
<version>${gwtversion}</version>
       
</dependency>
       
<dependency>
           
<groupId>com.google.gwt</groupId>
           
<artifactId>gwt-dev</artifactId>
           
<version>${gwtversion}</version>
           
<scope>provided</scope>
       
</dependency>

this caused the problem (on GWT 2.8.0-SNAPSHOT) that jetty version 9 was used instead of version 8.
Reply all
Reply to author
Forward
0 new messages