Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » LoadTimeWeaving stopped working when upgrading to Maven 3
LoadTimeWeaving stopped working when upgrading to Maven 3 [message #644471] Sat, 11 December 2010 13:42
Jo Grimstad is currently offline Jo Grimstad
Messages: 2
Registered: December 2010
Junior Member
Hello,

I have been using EclipseLink 2.0.1, Spring 3, and Maven 2.2.1 for some time now, working fine with load-time weaving switched on (using spring-instrument-3.0.5.RELEASE.jar).

However, I recently upgraded to Maven 3.0.1, and then things stopped working ( when executing mvn jetty:run):

ClassLoader [org.eclipse.jetty.webapp.WebAppClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method


This is the same message as I got with Maven 2.2.1 before having run the following setting:

export MAVEN_OPTS="-javaagent:/path/to/.m2/repository/org/springframework/spring-instrument/3.0.5.RELEASE/spring-instrument-3.0.5.RELEASE.jar"


However, with Maven 3, it does not seem as if the javaagent is picked up.

So, is there a known problem that EclipseLink stops working when upgrading to Maven 3?
Previous Topic:JPA/Eclipselink poor performance batch update entity on ManyToOne relationship changes
Next Topic:dbws response type
Goto Forum:
  


Current Time: Sun Aug 31 06:42:29 EDT 2014

Powered by FUDForum. Page generated in 0.06656 seconds