ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hpm-inters...@t-online.de (hpm-intersoft)
Subject Problem instantiating XmlLogger
Date Mon, 05 Nov 2001 21:05:30 GMT
Hi jakarta-fans!
Sorry, but i have a specific problem:
after this command:
ant -listener org.apache.tools.XmlLogger -buildfile testbisjar.xml
compile -verbose
i got this message:

"unable to instantiate listener org.apache.tools.XmlLogger"

with following log:
BUILD FAILED

Unable to instantiate listener org.apache.tools.XmlLogger
        at org.apache.tools.ant.Main.addBuildListeners(Main.java:492)
        at org.apache.tools.ant.Main.runBuild(Main.java:410)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
java.lang.ClassNotFoundException: org.apache.tools.XmlLogger
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.tools.ant.Main.addBuildListeners(Main.java:487)
        at org.apache.tools.ant.Main.runBuild(Main.java:410)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 0 seconds
Is there anybody in the comunity, who can give an ant-newbee a short hint?

Thanks in advance,
Peter


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message