Designer Exception

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Designer Exception

Postby davidallen » Sat May 01, 2010 8:09 pm

Ok - forgive me for what is likely a simple issue reflecting my lack of experience/understanding of the GWT universe...

I am getting the following exception from the Designer from a very simple test case I have been working on:

com.instantiations.designer.core.utils.exception.DesignerException: 4000 (Can't find GWT module). net.waveq.model.Node

The root cause seems to be lack of visibility/access to a class I have defined outside of the client package. The GWT builder complained until I added an inherits tag to the gwt.xml file.
Code: Select all
<module>
   <inherits name="com.google.gwt.user.User" />
   <inherits name="net.waveq.model.Node" />
   <inherits name="com.google.gwt.user.theme.standard.Standard" />
   <entry-point class="net.waveq.project.client.HeatMap" />
   <inherits name="com.smartgwt.SmartGwt" />
</module>


Any pointers on what I need to do to give GWT Designer the needed info?
davidallen
 
Posts: 13
Joined: Fri Oct 16, 2009 7:45 pm

Re: Designer Exception

Postby davidallen » Sat May 01, 2010 8:19 pm

BTW: Moving this class into the Client directory completely fixes the issue...
davidallen
 
Posts: 13
Joined: Fri Oct 16, 2009 7:45 pm

Re: Designer Exception

Postby Eric Clayberg » Mon May 03, 2010 8:15 am

Did that code work outside of GWT Designer in GWT itself or did it show a similar issue?

I don't think that the problem is with the visibility of the class, but without a test case, it would be hard to know for sure.

The "Can't find GWT module" exception generally means that there is no such module in the project, or in a required project, or in referenced jar.

We would need to see a complete test case to tell you what the exact issue is.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Designer Exception

Postby davidallen » Mon May 03, 2010 11:23 pm

Same source tree executed from command line runs. Only within GWT Designer does this occur. Will put together a sample case for you when time allows.
davidallen
 
Posts: 13
Joined: Fri Oct 16, 2009 7:45 pm

Re: Designer Exception

Postby Eric Clayberg » Tue May 04, 2010 5:34 am

davidallen wrote:Will put together a sample case for you when time allows.

OK. We will look for it.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest