Finally, I got the Super Dev Mode working for our application after upgrading the gwt library to 2.8.1 and also changed web.xml by using new schema 2.5 instead of 2.3.
Now, the application can be run on the web server.
http://127.0.0.1:8888/ARIES.html
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee">
Thomas, Frank Hossfeld, and Frank, Your help is greatly appreciated!
I'm going to figure out how to debug in the super dev. mode and maybe have some other questions. This user group is very helpful. I'm happy that I joined this user group.
thanks,
Jenny
On Monday, February 11, 2019 at 10:00:15 AM UTC-6, Jenny Jin wrote:
Thanks for all of the information.Thomas, you're right. Eclipse showed me an error mark in the web.xml as below, but there is no error message.<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE web-appPUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"<web-app><servlet><servlet-name>dropdownboxServlet</servlet- name> <servlet-class>edu.vanderbilt.mc.aries.server.rpc.control. DropDownBoxUIServiceImpl</ servlet-class> </servlet>On Mon, Feb 11, 2019 at 4:29 AM Thomas Broyer <t.broyer@gmail.com> wrote:--
On Sunday, February 10, 2019 at 1:41:52 PM UTC+1, Jenny Jin wrote:Hello,I'm working on upgrading our application from gwt 2.5 to gwt 2.7 in order to take advantage of the Super Dev mode. I installed new GWT plugin in Eclipse 4.4 in order to get gwt 2.7 library.However, it has been a trying process for this version upgrade. After fixing many errors found in the upgrade process, finally, the application can be compiled by GWT compiler without any errors.After executing command "Run as GWT Development Mode in Eclipse, I can see the coderserver url as follows:When I click on the application link, it gave me message as "This module hasn't been compiled yet.". Therefore, I searched online trying to find out solution. A post suggested that the application should be run onweb server first before using code server. After executing the command Run as "GWT Development mode with Jetty", I got following error message:I've spent much time online trying to find out solution for this error, but I haven't got any luck yet. Hope you can help shed some lights on this issue. Thanks in advance!Runing CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.7, -bindAddress, 127.0.0.1, -launcherDir, C:\Users\jiny\gitNeon\aries\war, -logLevel, INFO, edu.vanderbilt.mc.aries.ARIES] Super Dev Mode starting upworkDir: C:\Users\jiny\AppData\Local\Temp\gwt-codeserver- 507199880381658069.tmp Loading Java files in edu.vanderbilt.mc.aries.ARIES.Ignored 9 units with compilation errors in first pass.Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.Starting Jetty on port 8888[WARN] Failed startup of context c.g.g.d.s.j.WebAppContextWithReload{/, file:/C:/Users/jiny/gitNeon/ aries/war/},C:\Users\jiny\ gitNeon\aries\war java.lang.reflect.InvocationTargetException 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 org.eclipse.jetty.webapp.IterativeDescriptorProcessor. visit( IterativeDescriptorProcessor. java:85) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor. process( IterativeDescriptorProcessor. java:72) at org.eclipse.jetty.webapp.MetaData.resolve(MetaData. java:367) at org.eclipse.jetty.webapp.WebAppContext.startContext( WebAppContext.java:1240) at org.eclipse.jetty.server.handler.ContextHandler. doStart(ContextHandler.java: 717) at org.eclipse.jetty.webapp.WebAppContext.doStart( WebAppContext.java:494) at com.google.gwt.dev.shell.jetty.JettyLauncher$ WebAppContextWithReload. doStart(JettyLauncher.java: 541) at org.eclipse.jetty.util.component.AbstractLifeCycle. start(AbstractLifeCycle.java: 64) at org.eclipse.jetty.server.handler.HandlerWrapper. doStart(HandlerWrapper.java: 95) at org.eclipse.jetty.server.handler.RequestLogHandler. doStart(RequestLogHandler. java:162) at org.eclipse.jetty.util.component.AbstractLifeCycle. start(AbstractLifeCycle.java: 64) at org.eclipse.jetty.server.handler.HandlerWrapper. doStart(HandlerWrapper.java: 95) at org.eclipse.jetty.server.Server.doStart(Server.java: 282) at org.eclipse.jetty.util.component.AbstractLifeCycle. start(AbstractLifeCycle.java: 64) at com.google.gwt.dev.shell.jetty.JettyLauncher.start( JettyLauncher.java:740) 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) Caused by: java.lang.IllegalStateException: No such servlet: dropdownboxServlet at org.eclipse.jetty.servlet.ServletHandler.updateMappings( ServletHandler.java:1320) at org.eclipse.jetty.servlet.ServletHandler. setServletMappings( ServletHandler.java:1414) at org.eclipse.jetty.servlet.ServletHandler. addServletMapping( ServletHandler.java:896) at org.eclipse.jetty.webapp.StandardDescriptorProcessor. addServletMapping( StandardDescriptorProcessor. java:1199) at org.eclipse.jetty.webapp.StandardDescriptorProcessor. visitServletMapping( StandardDescriptorProcessor. java:632) ... 23 moreModule setup completed in 5687 msCheck your web.xml, you seem to have a <servler-mapping> with no corresponding <servlet>.
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 google-web-toolkit+unsubscribe@googlegroups.com .
To post to this group, send email to google-web-toolkit@googlegroups.com .
Visit this group at https://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/d/optout .
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment