LinkageError using JDK6 ----------------------- Key: MPDF-31 URL: http://jira.codehaus.org/browse/MPDF-31 Project: Maven 2.x PDF Plugin Issue Type: Bug Affects Versions: 1.1 Environment: mvn 2.1 or later, jdk 6 Reporter: Vincent Siveton
{noformat} #mvn -version Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) Java version: 1.6.0_15 Java home: jdk1.6.0_15\jre Default locale: fr_CA, platform encoding: Cp1252 OS name: "windows xp" version: "5.2" arch: "x86" Family: "windows" {noformat} {noformat} #mvn site ... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] loader constraint violation in interface itable initialization: when resolving method "o rg.apache.maven.doxia.sink.AbstractSink.enableLogging(Lorg/apache/maven/doxia/logging/Log;)V" t he class loader (instance of org/codehaus/classworlds/RealmClassLoader) of the current class, o rg/apache/maven/plugins/pdf/PdfMojo$PdfSink, and the class loader (instance of org/codehaus/cla ssworlds/RealmClassLoader) for interface org/apache/maven/doxia/logging/LogEnabled have differe nt Class objects for the type org/apache/maven/doxia/logging/Log used in the signature [INFO] ------------------------------------------------------------------------ ... {noformat} BUT using JDK 1.5 no error when running mvn site: {noformat} #mvn -version Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) Java version: 1.5.0_18 Java home: dk1.5.0_18\jre Default locale: fr_CA, platform encoding: Cp1252 OS name: "windows xp" version: "5.2" arch: "x86" Family: "windows" {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira