[WARN] Error deploying web application directory ROOT

7 views
Skip to first unread message

ytbryan

unread,
Dec 27, 2008, 12:38:32 PM12/27/08
to Google Web Toolkit
hi all,

i'm using a mac and got stuck at "Creating an Application from Scratch
(with Eclipse)" of the Getting Started - Quick Start manual.

what happened is that after i follow the instruction below extracted
from the quick start manual:

To open your project in Eclipse, launch Eclipse and click the File ->
Import menu. Choose "Existing Projects into Workspace" in the first
screen of the wizard, and enter the directory in which you genetrated
the .project file in the next screen of the wizard. When you are
complete, you should see your GWT project loaded into your Eclipse
workspace:

i ended up not getting the to see the gwt project loaded into eclipse
workspace. I then tried to run the mail-shell from the sample folder.
but i ended up getting this error now:

[WARN] Error deploying web application directory ROOT
java.lang.NoSuchMethodError: javax.servlet.ServletContext.setAttribute
(Ljava/lang/String;Ljava/lang/Object;)V
at
com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.publishAttributeToWebApp
(EmbeddedTomcatServer.java:400)
at
com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.publishShellLoggerAttribute
(EmbeddedTomcatServer.java:410)
at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.access$000
(EmbeddedTomcatServer.java:54)
at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer
$1.containerEvent(EmbeddedTomcatServer.java:224)
at org.apache.catalina.core.ContainerBase.fireContainerEvent
(ContainerBase.java:1358)
at org.apache.catalina.core.StandardHostDeployer.install
(StandardHostDeployer.java:276)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:
832)
at org.apache.catalina.startup.HostConfig.deployDirectories
(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
478)
at org.apache.catalina.startup.Embedded.start(Embedded.java:846)
at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.<init>
(EmbeddedTomcatServer.java:244)
at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.start
(EmbeddedTomcatServer.java:69)
at com.google.gwt.dev.GWTShell.startUp(GWTShell.java:778)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:582)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)



hope someone can advice me. I cannot even run the sample given. thanks
alot

Reply all
Reply to author
Forward
0 new messages