I get the following error when I try to run the XDoclet sample file: BUILD FAILED file:C:/classes/xdoclet/samples/build.xml:103: Could not create task of type: ej bdoclet due to java.lang.NoClassDefFoundError: org/apache/commons/collections/Pr edicate What's confusing me is, I'm using the build.xml file provided along with the examples and (to the best of my knowledge) the jar file commons-collections-2.0.jar which contains this Predicate class is in this task's classpath. Any ideas on how I can diagnose the problem? Thanks.
I got the same problem as you did. After fiddling about with my CLASSPATH I got it to generate the java files but not compile them. After an hour I got fed up... Then I boldly did "unset CLASSPATH" to get a completely empty class path, did "ant clean" followed closely by "ant".... and the *�%"*�& thing worked!