where should yum find class org.apache.tools.ant.launch.Launcher?

Matt Morgan minxmertzmomo at gmail.com
Fri Oct 21 02:07:01 UTC 2005


On 10/20/05, Michael Hennebry <hennebry at web.cs.ndsu.nodak.edu> wrote:
>
> I'm running FC3.
>
> nfs/work/s61> ant
> libgcj-java-placeholder.sh
>
> This script is a placeholder for the /usr/bin/java
> master link required by jpackage.org conventions.  libgcj's
> rmiregistry, rmic and jar tools are now slave symlinks to these
> masters, and are managed by the alternatives(8) system.
>
> This change was necessary because the rmiregistry, rmic and jar tools
> installed by previous versions of libgcj conflicted with symlinks
> installed by jpackage.org JVM packages.
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.apache.tools.ant.launch.Launcher
>    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
>    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
>    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
> (/usr/lib/libgcj.so.5.0.0)
>    at __gcj_personality_v0
> (/disk2/people/hennebry/work/simulator.10072004.61/ant.home=/usr/share/ant)
>    at __libc_start_main (/lib/tls/libc-2.3.3.so)
>    at _Jv_RegisterClasses
> (/disk2/people/hennebry/work/simulator.10072004.61/ant.home=/usr/share/ant)
> nfs/work/s61>
>
>
> [root at hobbes i586]# yum provides ant.launch.Launcher
> Searching Packages:
> Setting up Repo:  updates-released
> repomd.xml                100% |=========================|  951 B    00:00
> Setting up Repo:  jpackage-generic
> repomd.xml                100% |=========================|  951 B    00:00
> Setting up Repo:  extras
> repomd.xml                100% |=========================|  951 B    00:00
> Setting up Repo:  base
> repomd.xml                100% |=========================|    0 B    00:00
> //var/cache/yum/base/repomd.xml:1: parser error : Document is empty
>
> ^
> //var/cache/yum/base/repomd.xml:1: parser error : Start tag expected, '<'
> not found
>
> ^
> Cannot open/read repomd.xml file for repository: base
> Error importing repomd.xml from base: Error: could not parse file
> //var/cache/yum/base/repomd.xml
> [root at hobbes i586]#

That looks like a problem with yum, rather than java. I'm sorry I
don't know what to do about it, but maybe yum clean all|packages|cache
etc. Does yum also fail when you try other commands?




More information about the fedora-list mailing list