• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

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

 
author and cow tipper
Posts: 5000
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
 
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!