Solved it myself.
The error was that the URL was not the Java.net url
but the apache one
On Thursday, October 2, 2014 8:05:07 PM UTC-4, Georgios Koloventzos wrote:
>
> Hi,
>
> I am trying to get my albums from picasa but I have this error in my
> servlet:
>
> PicasawebService myService = new PicasawebService(APPLICATION_NAME);
> uurl = String.format("
> https://picasaweb.google.com/data/feed/api/user/%1$s?kind=album&access=all&token=%2$s",
>
> user, token);
> URL feedUrl = new URL(uurl);
> UserFeed myUserFeed = null;
> myUserFeed = myService.getFeed(feedUrl, UserFeed.class);
>
> But in the last line eclipse has this error:
> The method getFeed(URL, Class<F>) in the type Service is not applicable
> for the arguments (URL, Class<UserFeed>)
>
>
> Do you have any idea what I am missing?
> I am sure that there is a jar missing probably but I am not sure.
>
> Thanks for your time replying a n00b question.
> -Georgios
>
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.