You edited the file  -compile.cmd with the addition of path that are
missing?

Keepeek-Force-1 wrote:
> Hi,
> i had the same problem.
> I added output path in StockWatcher-shell.cmd and everything is now
> ok.
> It looks like that :
> @java -Xmx256M -cp "%~dp0\src;%~dp0\bin;C:/Developpement/gwt-
> windows-1.5.2/gwt-user.jar;C:/Developpement/gwt-windows-1.5.2/gwt-dev-
> windows.jar;C:/Developpement/gwt-windows-1.5.2/StockWatcher/out/
> production/StockWatcher" com.google.gwt.dev.GWTShell -out "%~dp0\www"
> %* com.google.gwt.sample.stockwatcher.StockWatcher/StockWatcher.html
>
> I hope that s help
> kf1
>
> On 5 sep, 22:28, Daniel <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > GWT is great!
> >
> > I'm following through the tutorial, but I've gotten stuck on the RPC
> > stuff. �When I run it I get this error:
> >
> > -------------
> >
> > [ERROR] Unable to instantiate
> > 'com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl'
> > java.lang.ClassNotFoundException:
> > com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl
> > � � � � at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > � � � � at java.security.AccessController.doPrivileged(Native Method)
> > � � � � at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > � � � � at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > � � � � at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> > � � � � at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> > � � � � at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> > � � � � at java.lang.Class.forName0(Native Method)
> > � � � � at java.lang.Class.forName(Class.java:169)
> > � � � � at
> > com.google.gwt.dev.shell.GWTShellServlet.tryGetOrLoadServlet(GWTShellServlet.java:
> > 952)
> > � � � � at
> > com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:
> > 278)
> > � � � � at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > � � � � at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> > 237)
> > � � � � at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> > 157)
> > � � � � at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> > 214)
> > � � � � at
> > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
> > 104)
> > � � � � at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> > 520)
> > � � � � at
> > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:
> > 198)
> > � � � � at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> > 152)
> > � � � � at
> > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
> > 104)
> > � � � � at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> > 520)
> > � � � � at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> > 137)
> > � � � � at
> > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
> > 104)
> > � � � � at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> > 118)
> > � � � � at
> > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
> > 102)
> > � � � � at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> > 520)
> > � � � � at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> > 109)
> > � � � � at
> > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
> > 104)
> > � � � � at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> > 520)
> > � � � � at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
> > 929)
> > � � � � at 
> > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:
> > 160)
> > � � � � at
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> > 799)
> > � � � � at org.apache.coyote.http11.Http11Protocol
> > $Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> > � � � � at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
> > 577)
> > � � � � at org.apache.tomcat.util.threads.ThreadPool
> > $ControlRunnable.run(ThreadPool.java:683)
> > � � � � at java.lang.Thread.run(Thread.java:619)
> >
> > followed by:
> >
> > [ERROR] Unable to dispatch request
> >
> > -----------------------------
> >
> > I'm guessing that gwt doesn't compile the server side stuff
> > automatically for debugging?
> >
> > If so, would I just create a directory called "stockPrices" in "www/
> > com.google.gwt.sample.stockwatcher.StockWatcher", and compile the
> > servlet there, and if so, would I still need to create entries in a
> > "WEB-INF/whatever.xml" file?
> >
> > Just a little confused because the tutorial made it seem like gwt
> > handled the servlets automatically.
> >
> > Thanks for the help in advance. �:)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to