Hi Team,
I'm getting the below error after launching the application in GWT development mode ("Run as" > " gwt:debug") which runs on internal jetty server. SmartGWT- 13.0, Spring- 6.0.0, Java - 17.0.9, Eclipse Jetty - 12.0.5 , Apache maven - 3.8.2, GWT- 2.10.1 and gwt-maven-plugin - 2.10.0 are the Versions which we are currently using.
[INFO] --- gwt-maven-plugin:2.10.0:debug (default-cli) @ abc ---
[INFO] starting debugger on port 8000 in suspend mode
[INFO] create exploded Jetty webapp in C:\Projects\abc\target\abc-1.3
[INFO] Listening for transport dt_socket at address: 8000
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/webapp/WebAppContext
[ERROR] at java.base/java.lang.Class.forName0(Native Method)
[ERROR] at java.base/java.lang.Class.forName(Class.java:467)
[ERROR] at com.google.gwt.dev.DevMode$ArgHandlerServer.setString(DevMode.java:182)
[ERROR] at com.google.gwt.util.tools.ArgHandlerString.handle(ArgHandlerString.java:26)
[ERROR] at com.google.gwt.util.tools.ToolBase.processArgs(ToolBase.java:291)
[ERROR] at com.google.gwt.dev.ArgProcessorBase.processArgs(ArgProcessorBase.java:30)
[ERROR] at com.google.gwt.dev.DevMode.main(DevMode.java:431)
[ERROR] Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebAppContext
[ERROR] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
[ERROR] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
[ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[ERROR] ... 7 more
And we are getting the below error while downloading the gwt-maven-plugin for version above 2.10.0 from Maven central repository
[ERROR] Plugin org.codehaus.mojo:gwt-maven-plugin:2.10.1 or one of its dependencies could not be resolved: org.codehaus.mojo:gwt-maven-plugin:jar:2.10.1 was not found.
[ERROR] Plugin org.codehaus.mojo:gwt-maven-plugin:2.11.0 or one of its dependencies could not be resolved: org.codehaus.mojo:gwt-maven-plugin:jar:2.11.0 was not found.
Could you please help me to solve these errors?
Thanks in advance
I'm getting the below error after launching the application in GWT development mode ("Run as" > " gwt:debug") which runs on internal jetty server. SmartGWT- 13.0, Spring- 6.0.0, Java - 17.0.9, Eclipse Jetty - 12.0.5 , Apache maven - 3.8.2, GWT- 2.10.1 and gwt-maven-plugin - 2.10.0 are the Versions which we are currently using.
[INFO] --- gwt-maven-plugin:2.10.0:debug (default-cli) @ abc ---
[INFO] starting debugger on port 8000 in suspend mode
[INFO] create exploded Jetty webapp in C:\Projects\abc\target\abc-1.3
[INFO] Listening for transport dt_socket at address: 8000
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/webapp/WebAppContext
[ERROR] at java.base/java.lang.Class.forName0(Native Method)
[ERROR] at java.base/java.lang.Class.forName(Class.java:467)
[ERROR] at com.google.gwt.dev.DevMode$ArgHandlerServer.setString(DevMode.java:182)
[ERROR] at com.google.gwt.util.tools.ArgHandlerString.handle(ArgHandlerString.java:26)
[ERROR] at com.google.gwt.util.tools.ToolBase.processArgs(ToolBase.java:291)
[ERROR] at com.google.gwt.dev.ArgProcessorBase.processArgs(ArgProcessorBase.java:30)
[ERROR] at com.google.gwt.dev.DevMode.main(DevMode.java:431)
[ERROR] Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebAppContext
[ERROR] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
[ERROR] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
[ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[ERROR] ... 7 more
And we are getting the below error while downloading the gwt-maven-plugin for version above 2.10.0 from Maven central repository
[ERROR] Plugin org.codehaus.mojo:gwt-maven-plugin:2.10.1 or one of its dependencies could not be resolved: org.codehaus.mojo:gwt-maven-plugin:jar:2.10.1 was not found.
[ERROR] Plugin org.codehaus.mojo:gwt-maven-plugin:2.11.0 or one of its dependencies could not be resolved: org.codehaus.mojo:gwt-maven-plugin:jar:2.11.0 was not found.
Could you please help me to solve these errors?
Thanks in advance
Comment