Monday, November 1, 2010

Re: java.lang.NoClassDefFoundError: com/google/gdata/util/ServiceException

OK, I narrowed it down a bit. My DataFeedManager has some Analytics
code in it. When I removed it, everything was fine. So I guess this is
an issue of integrating GWT and Analytics? How do I get my GWT to feel
comfortable with Analytics code in the business layer?

Thanks,
Eyal

On Nov 1, 6:31 pm, Eyal <twoworldsf...@gmail.com> wrote:
> Hi All,
>
> I'm new to this, and I'm trying to use my Manager class in a GWT
> module. I'm using Eclipse 3.6 with the latest GWT plugin and
> generating a project from it.
>
> In my GreetingServiceImpl I have a method,      public String
> getDataFeed() throws IllegalArgumentException, that tries to
> instantiate my DataFeedManager class through a default constructor.
> That default constructor is currently doing nothing at all -- it's
> just there for my testing. But when I'm attempting to do
> DataFeedManager dfm = new DataFeedManager() I'm getting the
> following:
>
> Service method 'public abstract java.lang.String
> com.eyes.client.GreetingService.getDataFeed() throws
> java.lang.IllegalArgumentException' threw an unexpected exception:
> java.lang.NoClassDefFoundError: com/google/gdata/util/ServiceException
>
> What am I doing wrong? Researching this I saw that people were helped
> by adding google-collect-1.0-rc1.jar to the build path and I added it
> but I still get the above error.
>
> Any help will be greatly appreciated.
>
> Eyal

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment