logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hebert, Marc" <Marc.Heb...@arrisi.com>
Subject log4j 1.2.15 source compilation problem
Date Thu, 09 Jul 2009 21:59:28 GMT
Hello.

I'm ultimately trying to debug a deadlock problem we're encountering that appears to be in
log4j (1.2.15), but for starters I'm aiming to recompile the log4j 1.2.15 source, and running
into the problem below.  This is occurring within a cygwin shell running on a windows PC.
 Near as I can tell, the compile is referencing an older version of ant, resulting in the
unresolved method call. Thanks in advance for any help.

First, I should spell out some environment parameters:

$ mvn --version
Apache Maven 2.1.0 (r755702; 2009-03-18 12:10:27-0700)
Java version: 1.5.0_17
Java home: c:\Program Files\Java\jdk1.5.0_17\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

$ mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Log4j
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] Copying 7 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[FATAL ERROR] org.codehaus.plexus.component.configurator.BasicComponentConfigurator#configureComponent(...)
caused a lin
kage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-antrun-plugin:1.3]
urls[0] = file:/C:/Documents and Settings/mhebert/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-
antrun-plugin-1.3.jar
urls[1] = file:/C:/Documents and Settings/mhebert/.m2/repository/ant/ant-nodeps/1.6.5/ant-nodeps-1.6.5.jar
urls[2] = file:/C:/Documents and Settings/mhebert/.m2/repository/ant-contrib/ant-contrib/1.0b2/ant-contrib-1.0b2.jar
urls[3] = file:/C:/Documents and Settings/mhebert/.m2/repository/ant/ant/1.5/ant-1.5.jar
urls[4] = file:/C:/Documents and Settings/mhebert/.m2/repository/ant/ant-junit/1.6.5/ant-junit-1.6.5.jar
urls[5] = file:/C:/Documents and Settings/mhebert/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[6] = file:/c:/Program Files/Java/jdk1.5.0_17/jre/../lib/tools.jar
urls[7] = file:/C:/Documents and Settings/mhebert/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5
.6.jar
urls[8] = file:/C:/Documents and Settings/mhebert/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.ja
r
urls[9] = file:/C:/Documents and Settings/mhebert/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/c:/devtools/src/maven/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error configuring: org.apache.maven.plugins:maven-antrun-plugin. Reason: java.lang.NoSuchMethodError:
org.apache.
tools.ant.util.FileUtils.close(Ljava/io/InputStream;)V
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Jul 09 14:37:14 PDT 2009
[INFO] Final Memory: 14M/25M
[INFO] ------------------------------------------------------------------------


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message