Designer Web Project Example

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 Web Project Example

Postby colinzhao » Sat Apr 25, 2009 10:55 am

So I have got my GWT project added to a Web project. I got the following error when I run the web project with tomcat. I have the server configured to point to the directory with my tomcat install.

java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"

It has been a while since last time I looked at the Designer Web project feature. I need to add a few things to the web.xml, and I thought it is to support this need. Do you have an example/tutorial to show how to?

Thanks.

Colin
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Designer Web Project Example

Postby Eric Clayberg » Sat Apr 25, 2009 5:57 pm

I have no idea what org/apache/catalina/startup/Bootstrap is.

We do not have any sort of Web project tutorial. All of the web project docs are here.
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 Web Project Example

Postby colinzhao » Sat Apr 25, 2009 7:07 pm

After the project is created, how do I launch the server with the project? The Designer Web Project differs from the WTP Web Project. I am trying to figure out how to run my GWT module with the project. You doc through the link doesn't have enough details, or I don't know whereelse to find them.
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Designer Web Project Example

Postby Eric Clayberg » Sun Apr 26, 2009 5:22 am

colinzhao wrote:After the project is created, how do I launch the server with the project?

That is entirely up to you and the server you are using and outside the scope of what we can help you with.

Our Web project support is very lightweight (as an alternative to having all of WTP loaded) and just for deployment (to include several compiled GWT modules with the content of a standard Web project).

If you are actually using WTP, then just use a WTP Web Project.
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 2 guests