开发者

Why do I get the error "CalendarService class not found" despite having the gdata-calendar-2.0.jar file?

开发者 https://www.devze.com 2023-04-08 23:39 出处:网络
I have the gdata-calendar-2.0.jar file, but I get the error \"CalendarService class not found\". CalendarService my开发者_StackOverflow社区Service = new CalendarService(\"example\");

I have the gdata-calendar-2.0.jar file, but I get the error "CalendarService class not found".

CalendarService my开发者_StackOverflow社区Service = new CalendarService("example");


Have you included the library in your project? You should place it in the libs\ folder of your project, and then in Eclipse you need to add it to the Java Build path. Right click on the project, goto properties, Java Build Path, then pick the libraries tab and add your Jar.

0

精彩评论

暂无评论...
验证码 换一张
取 消