Yes that works, thanks. I also installed the libcommons-net-java package and changed the ant command line to this:
ant -lib /usr/share/java/commons-net.jar dtd And that also works. 致谢 ** Changed in: ant (Ubuntu) Status: Incomplete => Confirmed -- AntStructure task gives NoClassDefFoundError https://bugs.launchpad.net/bugs/238487 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs