Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > GoogleSoapSearchApi problem with noclassfound error in the Eclipse RCP program

Reply
Thread Tools

GoogleSoapSearchApi problem with noclassfound error in the Eclipse RCP program

 
 
@CL
Guest
Posts: n/a
 
      10-26-2006
Hi,all

I started my first Eclipse RCP program with this:
http://www.l3s.de/~olmedilla/student...lipseRCP-2.pdf

to use the googleSoapSearchApi(can be found in
http://code.google.com/apis/soapsearch/ ),
and it works ok in a standard program,
but when I used it in the Eclipse RCP program like the book above told
me,it will throw the error
"noClassDefFound:GoogleSearchResult"
as known,I had import the googleapi.jar,
and it can found "GoogleSearch" which is in the same
package"GoogleSearchResult",
I'm confused ,and is the RCP import is different?
btw,I use the Eclipse3.2.0 the sample code is :
public class SearchView extends ViewPart{
......
public void createPartControl(Composite parent) {
GoogleSearch search = new GoogleSearch();
search.setKey(SearchView.LICENSE_KEY);
search.setQueryString("search");
try{
GoogleSearchResult result = search.doSearch();
System.err.println("Result:"+result);
}catch(GoogleSearchFault gsf){
gsf.printStackTrace();
}
}
}

best regards,
Richard

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with RCP - Plugin (Eclipse) pod Java 0 05-23-2008 09:52 AM
Problem with text editor in Eclipse RCP yaaros@gmail.com Java 1 09-21-2007 12:19 PM
Problem Exporting Eclipse RCP Product Gibson Java 1 02-01-2007 08:13 AM
Problem with Eclipse RCP example G. Ralph Kuntz, MD Java 7 07-21-2006 05:36 AM
Newbie Question: Eclipse RCP - three questions Marcin Misiewicz Java 1 08-19-2004 12:42 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57