Hi all,
I have been using GWT RPC for a couple of weeks and everything worked
smoothly until I added a new private member to the server side
implementation of the remote interface.
Such private member instantiates a class that is in a .jar which is in
my eclipse classpath in my run configuration and in my build path.
Now when I launch it I get the following exception in the shell
[WARN] StandardWrapperValve[shell]: Servlet.service() for servlet
shell threw exception
java.lang.NoClassDefFoundError: null
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
com
.google
.gwt
.dev.shell.GWTShellServlet.tryGetOrLoadServlet(GWTShellServlet.java:936)
at
com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:
277)
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:613)
If I remove the field that instantiates the class above I get no
warnings nor exceptions.
Can you please tell me what is wrong with what I am trying to do?
Thanks,
Luigi
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---