Hi Sudhir,

Try using interfaces for your objects. I have been able to use aspects
in my applications using Spring interceptors instead of weaving, which
is triggered (I may be wrong here) when your class does not implement
any interfaces.

Bottom line: inject interfaces instead of bean implementations and you
should be OK. To be 100% sure, please post your full stack trace and
relevant spring config snippets.

On Jun 7, 9:07 am, Sudhir Ramanandi <sramana...@gmail.com> wrote:
> I Got
>
> Error creating bean with name
> 'org.springframework.context.weaving.AspectJWeavingEnabler#0':
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'loadTimeWeaver': Initialization of bean failed; nested exception
> is java.lang.IllegalStateException: ClassLoader
> [com.google.appengine.tools.development.IsolatedAppClassLoader] does NOT
> provide an 'addTransformer(ClassFileTransformer)' method. Specify a custom
> LoadTimeWeaver or start your Java virtual machine with Spring's agent:
> -javaagent:org.springframework.instrument.jar:
>
> On Mon, Jun 7, 2010 at 11:24 AM, Sudhir Ramanandi <sramana...@gmail.com>wrote:
>
> > Hello,
>
> > Is any one successfully using Spring + Aspectj for dependency injection in
> > domain objects
> > as explained here
> >http://static.springsource.org/spring/docs/3.0.x/spring-framework-ref...
>
> > Does aspectj Load time weaving works properly on GAE
>
> > --
> > Sudhir Ramanandi
> >http://www.ramanandi.org
>
> --
> Sudhir Ramanandihttp://www.ramanandi.org

-- 
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-j...@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