Blank Page Using Dev Mode On Glassfish

84 views
Skip to first unread message

Nick Apperley

unread,
Sep 2, 2011, 7:24:32 PM9/2/11
to Google Web Toolkit
Followed some instructions on getting dev mode to work on Glassfish
(http://groups.google.com/group/google-web-toolkit/browse_thread/
thread/43f62776e0b6f1eb). After running the app in dev mode under
Chrome a blank page appears, why does this occur?

I noticed in the project's WebContent directory (for a Dynamic Web
project) that the generated directory uses the package name as part of
its name when the project is compiled. Doing the compile in an
ordinary Java project results in a generated directory that does not
use the package name as part of its name. Not sure if this has any
impact with running an application in dev mode.

Nick Apperley

unread,
Sep 2, 2011, 7:36:11 PM9/2/11
to Google Web Toolkit
Don't see anything in Eclipse to indicate that there is an instance of
the app running in dev mode. Normally when an app is running under dev
mode there would be an app entry under the server entry in the
Development Mode tab for Eclipse. Chrome displays a GWT icon only if
the gwt.codesvr query string is part of the URL. The applications's
current URL has the icon displayed in Chrome's address bar.

Thomas Broyer

unread,
Sep 3, 2011, 5:14:58 AM9/3/11
to google-we...@googlegroups.com

Nick Apperley

unread,
Sep 3, 2011, 5:12:34 PM9/3/11
to Google Web Toolkit
Discovered what the issue was. An incorrect path was pointing to the
nocache JavaScript file in the HTML file, hence the blank page. For
some reason the GWT plugin will not create a GWT HTML file after
clicking on the Finish button in the wizard. Problem exists for both
Google Web and Dynamic Web projects. Can only get a GWT HTML file by
grabbing one from a Google Web project (just an ordinary Java project)
that is created with samples.



On Sep 3, 9:14 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> How about the following?http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu...http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee(if
Reply all
Reply to author
Forward
0 new messages