Could not find method ifNotHasRelationships... when running XDoclet tasks.
You have mixed XDoclet versions in your xdoclet.classpath (type: ant xdocletcp).
The usual fix is to remove or update the XDoclet dependency settings in your project.xml file.
On JBoss, a common problem is using a different version of commons-httpclient.jar than what ships with JBoss.
Compare the date and size with the copy found in JBOSS_DIST/lib and synch them up if they are different.
Another nasty-to-track-down problem is not having a copy of the junit.jar in Ant's boot classpath. Make sure
you have JUnit present by looking at your classpath (type: ant cp). When you install the JAM binary, a copy of JUnit is
placed in the {user.home}/.ant/libs directory; check that it's there.
java.lang.NoClassDefFoundError: org/apache/cactus/util/log/LogAspect... when running Cactus-1.3 version 1.6.1 on JBoss 3.x.
This shows up when running JBoss using JDK 1.5. Switch back to JDK 1.4 or get a newer (fixed) version of Cactus.