2009-03-29 13:58:26,895 [main] ERROR context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Initialization of bean failed; nested exception is java.lang.IllegalStateException: ClassLoader [java.net.URLClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:spring-agent.jar
at java.security.AccessController.doPrivileged(Native Method)
when I try to put a load-time-weaver into grails. I found a previous post from about a year back but there never seemed to be any resolution to the problem. I tried putting the agent in OPTS and other places, it makes no difference. And I'm pretty sure it's being executed since the vm complains if the jar location is incorrect.