A class needed by class com.sun.tools.jxc.SchemaGenTask cannot be found
Last night, I upgraded my OS and Netbeans stopped working. I reinstalled Netbeans, and now when I try to run my schemagen ant task, I get this:
/home/markelba/Projects/momme_java/MOMMEModelSources/test/net/momme/Battle/generateSchema.xml:4: taskdef A class needed by class com.sun.tools.jxc.SchemaGenTask cannot be found: org/apache/tools/ant/taskdefs/Javac
I have put the JAXB 2.1.5 implementation into my $JAVA_HOME/jre/lib directory (jaxb-api.jar) and I even tried removing the jaxws implementation that came with Netbeans. I've also tried upgrading from 5.5.1 to 6.0 b2 and it still doesn't work.
The JDK implementation is jdk-6u2. What can I do to fix this?