• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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
 
Poop goes in a willow feeder. Wipe with this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!