Skip to main content

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 18:42
Jo Grimstad is currently offline Jo GrimstadFriend
Messages: 2
Registered: December 2010
Junior Member

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: Tue Apr 07 11:05:07 GMT 2020

Powered by FUDForum. Page generated in 0.01693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top