Can not run in host mode

343 views
Skip to first unread message

A.L

unread,
May 21, 2009, 10:00:48 AM5/21/09
to Google Web Toolkit
Create new project using GWT plug in

Project Name: HelloWorld
package: com.test

check "Using Google Web Toolkit"

didn't do any change after the project created.

run

Error Page display
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/HelloWorld.html

and saw those message:
[WARN] EXCEPTION
java.lang.ClassNotFoundException: com.test.server.GreetingServiceImpl
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)...

[WARN] failed greetServlet
javax.servlet.UnavailableException:
com.test.server.GreetingServiceImpl
at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
233)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at org.mortbay.jetty.servlet.ServletHandler.initialize
(ServletHandler.java:616)...

[WARN] Failed startup of context
com.google.gwt.dev.shell.jetty.JettyLauncher
$WebAppContextWithReload@14beb40{/,E:\Eclipse3_4\JavaProject\HelloWorld
\war}
javax.servlet.UnavailableException:
com.test.server.GreetingServiceImpl
at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
233)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)

what's the problem????
Eclipse 3.4
JDK 1.5

Tim McCormack

unread,
Jun 4, 2009, 1:57:26 PM6/4/09
to Google Web Toolkit
On 21 May, 10:00, "A.L" <liun...@gmail.com> wrote:
> Error Page display
> HTTP ERROR: 503
> SERVICE_UNAVAILABLE
> RequestURI=/HelloWorld.html
>
> and saw those message:
> [WARN] EXCEPTION
> java.lang.ClassNotFoundException: com.test.server.GreetingServiceImpl

Same problem here, I think. We're collaborating using Subclipse, and
one person's computer is having the same problem you describe. All the
settings are being shared, which makes this very curious.

Here's what I just observed, though: His war/WEB-INF/classes folder is
empty, and Build Automatically was disabled. When it was enabled, we
still had no class files.

Could you check to see if you are in a similar situation?

- Tim McCormack

Oleksii Duzhyi

unread,
Jul 6, 2013, 6:38:12 AM7/6/13
to google-we...@googlegroups.com, Google Web Toolkit


четверг, 4 июня 2009 г., 20:57:26 UTC+3 пользователь Tim McCormack написал:
I encountered the same problem. The reason was that i created project using GPE (Google Plugin for Eclipse) and tried to follow GWT in action book. But my version of GPE creating a lot of staff insted of just basic project infrastructure. So, if you change your web.xml to
 

    <?xml version="1.0" encoding="utf-8"?>
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    </web-app> 

everything should work fine. 
Reply all
Reply to author
Forward
0 new messages