• Post Reply Bookmark Topic Watch Topic
  • New Topic

GDataRequest$RequestType not found in enum com.google.gdata.client.Service.GDataRequest.RequestType  RSS feed

 
vedika ashtekar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using JDeveloper as an IDE to run the sample code provided by http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html#GettingStarted.

But while compiling the application I am getting following error.



Error(22,29): GDataRequest$RequestType not found in enum com.google.gdata.client.Service.GDataRequest.RequestType in class com.google.gdata.client.GoogleService in class com.google.gdata.client.calendar.CalendarService in class project1.CalendarTest

I have already imported the LIB files provided in LIB folder of sample code nad source also.
Still not able to resolve the error.
Can anybody help me why this error is coming? and how to remove it?

Its urgent!
 
vedika ashtekar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ran the almost same code on Eclipse and its running perfectly fine.

If it's an IDE problem then IDE specific patch or Solution should exists..

Guys if you know please guide me !
 
vedika ashtekar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
huh!

My colligue got the answer with the help of shishir.srivastava@gmail.com's post!
http://www.mail-archive.com/google-help-dataapi@googlegroups.com/msg00984.html

shishir asked to change the Jdeveloper settings as follows :
1. right click on project.
2. click on Project properties.
3. change its compiler settings - Click the "Use Javac" checkbox.
4. click OK.

and build the project.
It will get compile successfully!

Thanks to Shishir Shrivastava !

jdeveloper-settings.jpg
[Thumbnail for jdeveloper-settings.jpg]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!