The problem appears caused by class loading conflict after some update
on GAE/J.

I managed to workaround the issue repackaging Apache HttpClient that
I'm using. For interested, here's my post with details:
http://radomirml.com/2011/03/27/fixing-strange-noclassdeffounderror-on-app-engine



On Mar 26, 10:32 am, radomir <[email protected]> wrote:
> This looks somehow related to some changes on GAE as the problem is
> now spread to apps on MS. My production version of the app deployed 4
> days ago and used without issues is failing with the same issue since
> 2011-03-26 02:46:29 (GMT).
>
> I tracked the issue down to:
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.james.mime4j.message.Body
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>         ... 26 more
>
> Now, the problem is I don't reference this class anywhere in my code
> and I can't find reference in included libraries. As far as I
> remember, this class was required by older versions of Apache
> HttpClient 4.0 that I do use but newer versions have removed
> dependency on James.
>
> Any thoughts?
>
> On Mar 26, 3:37 am, Christopher Hilla <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > Can you attach a log or stack trace where this error occurs?
>
> > --Chris
>
> > On Fri, Mar 25, 2011 at 3:07 AM, radomir <[email protected]> wrote:
> > > Hi,
>
> > > For one of my apps that was running fine yesterday GAE started
> > > throwing NoClassDefFoundError about few hours ago and the app is
> > > totally broken now! I've tried switching to older version, deploying a
> > > new version but it didn't help.
>
> > > Google, please help! The app is on HR and has enabled billing. (I
> > > already filled billing issue sending app id.)
>
> > > Anyone else seeing this issue?
>
> > > Thanks.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to