• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Gilead & GWT2java.lang.NoSuchMethodError: com.google.gwt.user.server.rpc.RPCRequest

 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I kept getting this error whenever I tried to access some resources on the server side. It seemed that I couldn't get anything back from my remote servlet.

After much searching, I stumbled upon this particular thread:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ca5722230f14f54e

Apparently, you need to download these two files, and put them into the correctly named package in your GWT project. They don't need to be rejarred into the Gilead jars; they just need to be there in your project.

The Package/Folder they need to be in under your source directory: com/google/gwt/user/server/rpc/

http://trg-commons.googlecode.com/files/RPCCopy.java
http://trg-commons.googlecode.com/files/RPCCopy_GWT20.java

I had errors when I brought in RPCCCopy, but it had to do with the 1.6 version, so I just commented those lines out and returned nulls. I coded those parts something like this:



-Cameron McKenzie
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic