I was using an old jar I replaced the latest from   jira  tkt  it
works fine.


On Oct 19, 4:49 pm, fachhoch <fachh...@gmail.com> wrote:
> I am using  the patched  xstream jar file   
> fromhttp://cloudcms.sheelapps.com/vfs/download/xstream-gae.jar ..
> when my code calls   xstream.fromXML(xml)  I am getthing this error.
>
> Caused by: java.lang.NoClassDefFoundError:
> sun.reflect.ReflectionFactory is a restricted class. Please see the
> Google  App Engine developer's guide for more details.
>         at
> com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime 
> .java:
> 51)
>         at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.getL 
> azyRefectionFactory(Sun14ReflectionProvider.java:
> 105)
>         at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.getM 
> ungedConstructor(Sun14ReflectionProvider.java:
> 97)
>         at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newI 
> nstance(Sun14ReflectionProvider.java:
> 76)
>         at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter. 
> instantiateNewInstance(AbstractReflectionConverter.java:
> 318)
>         at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter. 
> unmarshal(AbstractReflectionConverter.java:
> 167)
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.jav a:
> 71)
>         at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstrac 
> tReferenceUnmarshaller.java:
> 63)
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshal 
> ler.java:
> 65)
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshal 
> ler.java:
> 49)
>         at
> com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter 
> .readItem(AbstractCollectionConverter.java:
> 71)
>         at
> com.thoughtworks.xstream.converters.collections.CollectionConverter.populat 
> eCollection(CollectionConverter.java:
> 68)
>         at
> com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarsh 
> al(CollectionConverter.java:
> 61)
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.jav a:
> 71)
>         at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstrac 
> tReferenceUnmarshaller.java:
> 63)
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshal 
> ler.java:
> 65)
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshal 
> ler.java:
> 49)
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:
> 126)
>         at
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(Abs 
> tractTreeMarshallingStrategy.java:
> 32)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:939)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:924)
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:858)
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:849)

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

Reply via email to