Announcement Announcement Module
Collapse
No announcement yet.
AspectJ Load time weaving on GAE ! Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AspectJ Load time weaving on GAE !

    Hello,

    Is any one successfully using Spring + Aspectj for dependency injection in domain objects

    as explained here http://static.springsource.org/sprin...atconfigurable

    Does aspectj Load time weaving works properly on GAE

    Thanks
    SN

  • #2
    I Got following error

    Error creating bean with name 'org.springframework.context.weaving.AspectJWeavin gEnabler#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'loadTimeWeaver': Initialization of bean failed; nested exception is java.lang.IllegalStateException: ClassLoader [com.google.appengine.tools.development.IsolatedApp ClassLoader] 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:

    Comment


    • #3
      No, it does not work. I can not get compile-time weaving to work either. This is just one of many shortcomings in the GAE/J environment that will surprise you when you attempt to deploy a working Spring application. I documented some more of the limitations here:

      http://forum.springsource.org/showthread.php?t=89808

      As Google and the SpringSource team collaborate on their offering, it will be interesting to see if some of these problems are addressed, or if they at least publish documentation of what you can and can't do.

      Comment


      • #4
        I have been able to use Aspect by compile time weaving and dependencies are being injected..

        Comment

        Working...
        X