How do I structure a GWT project?

Posted by smaye81 on Stack Overflow See other posts from Stack Overflow or by smaye81
Published on 2010-03-17T03:16:29Z Indexed on 2010/03/17 3:21 UTC
Read the original article Hit count: 293

Filed under:
|
|

Hello, I have followed the basic GWT tutorial for creating a project in Eclipse. Now, I am trying to build off what I learned in the tutorial. I created a static utility class to perform some database connection logic. However, when I try to compile I get:

[ERROR] Line 46: No source code is available for type com.sample.server.ConnectionUtil; did you forget to inherit a required module?

Where can I put simple classes that I've created on my own? Do they have to be outside the package structure of the basic module, 'com.sample'? Or do I have to specify a whole new module in the gwt.xml file and inherit from that? There has to be something simple I'm missing.

© Stack Overflow or respective owner

Related posts about java

Related posts about gwt